Link to home
Start Free TrialLog in
Avatar of marceloNYC
marceloNYCFlag for United States of America

asked on

Internet explorer customizing auto refresh for one website - using javascript?

I wan to know how to refresh a webpage every x amount of second or minutes. I don't want to keep pressing the refresh botton in this one website that has a value that changes with the stock market. here i am trying to run this java script:


<html>
<head>

<title>Auto Reload</title>
<script language="JavaScript">
<!--
var time = null
function move() {
window.location = 'http://www.google.com'
}
for (i=1;i<=10 ;i++){
  if(i=10){
    timer=setTimeout('move()',3000)
   
}
}
//-->
</script>
</head>
   
</body>

This one solution we have here in mind with the guys that is not working. We don't want to use freeware out if we can avoided. Who knows what you could be installing.


Avatar of computerg33k
computerg33k

There is an HTML tag than can make a web page to auto reload after a period of time (in seconds) is reached. The syntax for this tag is as follows:

    <HEAD>
      ...
      <META HTTP-EQUIV=REFRESH CONTENT="seconds">
      ...
      ...
    </HEAD>
Avatar of marceloNYC

ASKER

that will be if it weas my site the site I want to auto refresh every minute is : http://www.fda.gov/cder/whatsnew.htm and only that page in my system.
alrighty---another option would be to create a web page--with the toolbar--point it to that website--then refresh it that way--would that be something you'd do--if so i'll post code
Sorry, I am not that sure what you mean? But if you show me code I 'll get an idea.
ASKER CERTIFIED SOLUTION
Avatar of computerg33k
computerg33k

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You could always try this:
<html>
    <head>
        <META HTTP-EQUIV=REFRESH CONTENT="2">
    </head>
    <Body>
    <iframe src="http://www.fda.gov/cder/whatsnew.htm" width="100%" height="100%" border="0">
    </body>
</html>