mw54finest Site Admin

Joined: 22 Jun 2008 Posts: 160
|
Posted: Sun Jun 22, 2008 4:27 pm Post subject: [How to] Add delay after replay on tciss' script |
|
|
by RandomBeast
Sure, find the line (kinda near the bottom of the script) that says
| Code: | | window.location.href = Buttons[i].firstChild.href; |
and replace it with
| Code: | | setTimeout("window.location.href = '" + Buttons[i].firstChild.href + "';",3000); |
the last number (3000 in this example) is the number of milliseconds to delay before loading the next play. 1000 would be 1 second. I set my delay to 3 seconds.
_________________ Eat, Sleep, Live GLB! |
|