Simple and smooth jQuery + CSS3 plugin for sliding free HTML content
Add the following resources on your page:
<link rel="stylesheet" href="gallerot.css"/>
<script src="jquery.js"></script>
<script src="jquery.gallerot.js"></script>
<div id="gallerot-left"><<</div>
<div id="gallerot">
<ul>
<li>
<!-- Your HTML -->
</li>
<li>
<!-- Your HTML -->
</li>
<li>
<!-- Your HTML -->
</li>
...
</ul>
</div>
<div id="gallerot-right"><<</div>
<script>
$(document).ready(function() {
$("#gallerot").gallerot({
width: 1000,
height: 200,
leftControl: '#gallerot-left',
rightControl: '#gallerot-right',
slidingSpeed: 1000,
enableAutoSliding: true,
autoSlidingDelay: 3000,
stopAutoSlidingOnHover: true
});
});
</script>
width
(optional, defaults to width of the parent block): width of the#gallerot
container.height
(optional, defaults to height of the parent block): height of the#gallerot
container.leftControl
(optional, defaults to null): control to slide left.rightControl
(optional, defaults to null): control to slide right.slidingSpeed
(optional, defaults to 1000): animation speed.enableAutoSliding
(optional, defaults to false): enables auto-sliding with the specified intervalautoSlidingDelay
.autoSlidingDelay
(optional, defaults to 6000): delay between sliding whenenableAutoSliding
is set to true.stopAutoSlidingOnHover
(optional, defaults to true): allows to stop auto-sliding on hovering.