Tabbed Content / Posts /

Tabbed Content: automatically advance

Is it possible to set up tabbed content so that it moves through each tab/content after a predetermined time, say 5 seconds?
bob meetin  11 years ago   viewed: 9935    

3 Answers

does still work for the latest version?

nick b   10 years ago
No. It is not supported anymore. That feature has been moved to Menucool jQuery Tabs.
Milo   10 years ago
[admin] Please ignore the answer below as the functionality has been moved to Menucool jQuery Tabs.
Try adding this to to the end of your page, just before the </body> closing tag (suppose you have 5 tabs for content DIVs with id="view1", "view2", ... "view5") :
<script> var idx = 1; function moveToNextTab(interval){ setTimeout(function(){idx++; if(idx>5) idx=1;"view"+idx, true); moveToNextTab(interval);}, interval); } moveToNextTab(5000); </script>
  11 years ago


Your name*
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: