Simple jQuery Plugin For Fullscreen Background Slideshow - Blicker

File Size: 1.22 MB
Views Total: 2185
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Simple jQuery Plugin For Fullscreen Background Slideshow - Blicker

blicker is a simple jQuery plugin switches the background images of your web page to create a fullscreen background slideshow effect.

See also:

How to use it:

1. Load the jQuery javascript library and jQuery blicker plugin in the document.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery.blicker.js"></script>

2. Create a container for the background slideshow.

<div id="demo"></div>

3. The required CSS rules for the slideshow.

#demo {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: -1000;
}

4. Call the plugin and create an array of images you want to switch.

<script type="text/javascript">
$(document).ready(function () {
$("#background-curtain").blicker({
autostart: true,
blickDuration: 1000,
silenceDuration: 4000,
images: [
"images/01.jpg",
"images/02.jpg",
"images/03.jpg"
]
});
});
</script>

Change log:

2015-01-20

  • fix code style

This awesome jQuery plugin is developed by wirthmi. For more Advanced Usages, please check the demo page or visit the official website.