View Full Version : Dynamic Tabs Content: cycle through tabs just once

09-16-2010, 05:02 PM
Hi, I am using Tab Content Script (v 2.2) on my website,


at the moment it cycles through the tabs constantly in slideshow mode
which is good but I would like it to cycle through once and stop on the last tab. Is such a thing possible?

Thanks in advance.

09-16-2010, 08:07 PM
This blog post should help: http://www.dynamicdrive.com/forums/blog.php?b=27

09-16-2010, 10:34 PM
Thank you very much.

09-17-2010, 11:59 AM
Ok that works fine to stop it after x number of loop through all tabs which is great the first time the page is viewed.

However, What I would like is it to stop looping on tab X (say tab 5) regardless of what tab the cycle started on.

so it might go:

tab 1, tab 2, tab 3, tab 4, tab 5 STOP!

but also if the viewer is already looking at tab 3 when the page is loaded or refreshed or returned to:

tab 3, tab 4, tab 5 STOP!

Just need it to stop cycling on tab X where tab X is the last tab in the row of tabs.

09-17-2010, 09:56 PM
Ah, well in that case, try the below modified .js file instead.

09-19-2010, 08:37 AM
Thank you - works perfectly