Tab Content script- Getting it to stop auto rotating after x cycles
by
, 05-08-2009 at 12:57 AM (48600 Views)
Original Script: DD Drop Down Panel v1.01
By default, when the script is set to auto cycle through the tabs, it does this indefinitely until the user clicks on one of the tabs. With the following modified version of the .js file, you can have it automatically stop after x cycles, even if the user doesn't click on a tab during this time. Simply use the following modified .js file. If you wish to change the # of cycles from 2 to something else, change the part in red below inside it:
Code:if (this.elapsedcycles >= this.hottabspositions.length*2)