PDA

View Full Version : reloading an image (woops)



solid
May 30th, 2003, 05:58 PM
I just replied to the post "reloading an image" and pasted the refresh javascript that I use, but I messed that topic up.

sorry about that!

solid
May 30th, 2003, 06:03 PM
Here was my answer to the other "reloading an image" topic.




var sURL = unescape(window.location.pathname);
function doLoad() {
setTimeout( "refresh()", 15000);
}

function refresh() {
window.location.href = sURL;
}



Then put
onLoad="doLoad();" in your BODY tag.