You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Responsive JQuery Background Slideshow :: Slideshow for the background using JQuery animation
2
+
3
+
**JQuery Responsive Background Slideshow** :: Slideshow for the background using JQuery animation
4
+
5
+
JQuery plugin that can create a background slideshow. This plugin works differently than a carousel plugin in that the content of the element do not need to change while the background images changes.
6
+
7
+
## Usage
8
+
9
+
```javascript
10
+
<script type="text/javascript">
11
+
$(function() {
12
+
$(".bg").bgSlideShow();
13
+
});
14
+
</script>
15
+
16
+
<body>
17
+
<div class=".bg">Hello</div>
18
+
</body>
19
+
```
20
+
21
+
22
+
## Examples
23
+
24
+
Take a look at the [Demo](https://sunil-samuel.github.io/#jquery-rbs)
25
+
26
+
The following examples are provided:
27
+
28
+
*[example1.html](examples/example1.html) :: Random background selection given a list of images for a single div element.
29
+
*[example2.html](examples/example2.html) :: Multiple div elements with different transition speed and transition delay.
30
+
*[example3.html](examples/example3.html) :: Background slideshow for the body sized element.
31
+
32
+
## Options and Data Attributes
33
+
34
+
Each option parameter has a corresponding data attribute so that multiple elements could have different option parameters. The ***data-*** attribute always has the precedence over the options
35
+
provide when calling the ***.bgSlideShow({options...})*** plugin.
0 commit comments