-
Stop/Play function Ajax Tabs Content Script (v 2.2)
Hiya,
I have been able to successfully add stop button so that when the autorun is enabled, the user can stop it via a hyperlink:
<a href="javascript:countries.cycleit()" onmousedown="this.cancelautorun()" style="float: right">Stop</a>
This works perfectly, however, I cannot get the autorun to restart using another hyperlink, the only way to restart it is for the entire page to be reloaded.
Javascript isn't my friend, that's why I use Dynamic Drive lol.
I tried the obvious; onmousedown="this.autorun()" and even; onmousedown="countries.init('3000')"
Don't laugh if I am looking completely in the wrong area, I am a designer, not a programmer 
PS: I think adding a stop/play function to this script would be a good addition if it get's updated.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks