I refuse to use a cycle plugin!
I could totally use a cycle plugin for what I'm trying to do, but I
know it could be done with way less code. Only, I am a total jQuery newb! Any insights you can provide would be much appreciated. And if I am posting in the wrong place, if you could direct me to a more in-depth forum, I would be ever so grateful.
You can see my code in action here:
http://rachelthegreat.com/coming-soon_01-1/
I have code in place to cycle through the list elements in #cartoon, showing a cartoon panel by panel. At the end of the cartoon, I would like a "subscribe for updates" form to appear. I've got the images showing in succession already, but what I'm having trouble doing is:
- When there is no li next, stop cycling #cartoon's li's and show #subscribe.
- When someone clicks the "skip cartoon" button, end #cartoon's slideshow, hide #cartoon and show #subscribe (I have the show and hide part down, but I don't know how to stop the theRotator() function so it stops running and resets when #cartoon is hidden).
- When someone clicks the "replay cartoon" button, hide #subscribe and show #cartoon with the slideshow restarted.
It is beyond my ken at this point. Like I said, I could use a cycle plugin. But I think the best way to learn is to set yourself tasks that are just beyond your grasp :)