Hello.
I need a script to change the iframes src every certain amount of seconds. The time between the change is different between each one.
Example:
Page Loads
Google.com is loaded.
15 seconds later
Yahoo.com is loaded.
37 seconds later
Ask.com is loaded.
12 seconds later
Dogpile.com is loaded.
and so on and so forth.
I've got the following so far:
The frame's id is frame. I think that the timer would be loaded, and when it reaches zero show a variant of the above with an if then statement...
Does this make sense?
Thanks in advance.
I need a script to change the iframes src every certain amount of seconds. The time between the change is different between each one.
Example:
Page Loads
Google.com is loaded.
15 seconds later
Yahoo.com is loaded.
37 seconds later
Ask.com is loaded.
12 seconds later
Dogpile.com is loaded.
and so on and so forth.
I've got the following so far:
Code:
document.getElementById('frame').src='http://www.google.com'
Does this make sense?
Thanks in advance.