-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe.txt
72 lines (48 loc) · 1.68 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
SimpleSlideShow
Version: 1.0
jQuery version: 1.4.4
###################
About:
###################
SimpleSlideShow was created to be provide a no-thrills slideshow to your website.
###################
How to Use:
###################
In it's simplest form you will need to include jQuery, slideshow.css, and slideshow.js
In your html you will create a <UL> and give it the class of "slideShow".
--- Example: <ul class="slideShow">
Then create <LI>'s for each image that you wish to display.
--- Example:
<li>
<img src="../dependencies/images/Three.jpg" />
</li>
Then in the Head of your html document add the following code.
<script type="text/javascript">
jQuery(function () {
SimpleSlideShow.begin();
});
</script>
That is it.
###################
API:
###################
SimpleSlideShow has been added to the window object of your browser.
Meaning you do not have to create an instance of it.
SimpleSlideShow exposes two methods for use.
begin: Use begin to start your slide show
--- Example: SimpleSlideShow.begin();
setDuration: Use setDuration to increase or decrease the speed of the slideshow.
The duration is kept in ms, so 1000 = 1 sec
--- Example: slideShow.setDuration(10000); //10 seconds
###################
CSS:
###################
The style sheet provides two styles to attach to your slideshow. Both are minimalistic and easy to change.
It is important to not change the following properties on "ul.slideShow li":
- position
- list
###################
Examples:
###################
See: /tests/example.usage.html
See: /tests/index.html