Sudo Slider jQuery Plugin - Methods demo 2
Methods in docs
Destroy
Init
Usage
Include the javascripts
<script type="Text/Javascript" src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="../js/jquery.sudoSlider.min.js"></script>
The Javascript to start it.
<script type="text/javascript" >
$(document).ready(function(){
var sudoSlider = $("#slider").sudoSlider({
numeric:true
});
$('#target').click(function() {
sudoSlider.destroy();
});
$('#target2').click(function() {
sudoSlider.init();
});
});
</script>
The HTML
<div id="slider" >
<img src="../images/01.jpg" alt="image description"/>
<img src="../images/02.jpg" alt="image description"/>
<img src="../images/03.jpg" alt="image description"/>
<img src="../images/04.jpg" alt="image description"/>
<img src="../images/05.jpg" alt="image description"/>
</div>
<a id="target">Destroy</a><br />
<a id="target2">Init</a>