Reloading an image (woops)

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!

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.