I have this page that i have a rotate slideshow running. I have it currently changing every second for testing. The slideshow works great but stopping it it not easy for some reason. I have a link on the top that should stop it.
<a class="stop" href="#">Stop to play the video</a>
$('.stop').click(function(){
$('#slideshow').cycle('stop');
});
This should stop the script but doesnt. But if you open up firebug and paste this line into the console the script stops. What gives?
$('#slideshow').cycle('stop');