1) Script Title:
Step Carousel Viewer
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...epcarousel.htm
3) Describe problem: Clicking a panel dynamically loads a new set of panels but I can't seem to also disable autostep when the new panels are loaded.
Hello,
Newbie JS user here and I'm in over my head!
I'm using step carousel viewer to scroll through 5 panels each representing a section of a photo gallery. Upon clicking one of the panels, all the panels are reloaded via:
onclick="stepcarousel.loadcontent('mygallery', 'Alternate Panels/Test2.html')
A table of images corresponding to the panel clicked is loaded into the current panel while all other panels remain the same (they are all reloaded but simply link the same images).
The trouble is that I can't seem to also disable autostep when the new panels are loaded. I tried including a stopautostep function call in with the 'onclick' event handler but it didn't work. I can get the desired result if I only include one panel in 'Test2' but then I can't 'stepto' the other showcase sections of the gallery using my pagination images because those sections no longer exist.
Any ideas on how to both reload the contents of the panels, and stop autostep upon clicking a panel would be very much appreciated.
Thanks
Neil



Reply With Quote

Bookmarks