Click to See Complete Forum and Search --> : auto refresh iframes?


cscartman
03-31-2003, 10:30 AM
I have had a few scripts to do this but they never worked any advise were to get one?

Ice3T
03-31-2003, 04:51 PM
you what to:
1-refresh the page(s) in the iframe?
2-or change the page(s) in it?

cscartman
03-31-2003, 05:38 PM
Ok what i want to is refrech the page for a pet site i play so i dont have to keep clicking on refresh so i figured i can make a script to reload the page every couple seconds until i click on the link to disable it thats all i want to do because in the shops its hard to get items u realy want that hard to get

Ice3T
03-31-2003, 05:58 PM
Try this, where IFRA is the name of your iframe and 5000 stands for 5secs is the time between the refreshs


function func01(){
IFRA.location="new_page_2.htm";
vartimerID=setTimeout("func01()",5000);
}