-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
52 lines (46 loc) · 1.18 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
DESCRIPTION
tiSlider (for jQuery) is a simple slider plugin.
DEPENDENCIES:
none
INCLUSIONS:
You have to include tiSlider.min.js (or tiSlider.js), jQuery 1.7 or higher,
tiSlider.css, you also have to copy the tiSliderImage folder in your web root folder.
HTML:
<div class="slider">
<ul>
<li>
<a class="slider_text" href="#">
Link1
</a>
</li>
<li>
<a class="slider_text" href="#" >
Link2
</a>
</li>
<li>
<a class="slider_text" href="#">
Link3
</a>
</li>
<li>
<a class="slider_text" href="#">
Link4
</a>
</li>
</ul>
<div class="slider_image">
<img src=".image1.png" alt="alt1"/>
<img src=".image2.png" alt="alt2"/>
<img src=".image3.png" alt="alt3"/>
<img src=".image4.png" alt="alt4"/>
</div>
</div>
You can put as much image as you want but you have to put the same numbre of <li>.
JS CALL:
put the following javascript after your sliders. you can only customize their width at the moment.
<script type="text/javascript">
$('.slider').sliderBox({
width: 910
});
</script>