Advanced Search

View RSS Feed

ddadmin

Tab Content script- Getting it to stop auto rotating after x cycles

Rate this Entry
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)
Attached Thumbnails Attached Files

Submit "Tab Content script- Getting it to stop auto rotating after x cycles" to del.icio.us Submit "Tab Content script- Getting it to stop auto rotating after x cycles" to StumbleUpon Submit "Tab Content script- Getting it to stop auto rotating after x cycles" to Google Submit "Tab Content script- Getting it to stop auto rotating after x cycles" to Digg

Tags: None Add / Edit Tags
Categories
DD Scripts Mods

Comments