Jump to content

javascript question


halfrican
 Share

Recommended Posts

Hi guys,

I'm having a problem with a bit of code.

It uses a marquee to reload a page after every cycle the page in question gets updated by a separate process using ftp.

I've tested the site using firefox under ubuntu and it works fine, but under windows, the page does not update.

Please can you look at the code and tell me if you see any problems, or suggest an alternative way of getting the page to update.

Thanks.

this page is embedded in another using an iframe

<html>

<head>

<script type="text/javascript">

window.onload = function reloadframe() {

document.getElementById("trackinfo").onfinish = function reloadframe() {

location.reload();

}

}

</script>

</head>

<body bgcolor="black">

<font color="white">

<marquee id="trackinfo" loop="1">this text gets updated</marquee>


</font>

</body>

</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...