marceloNYC
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.
<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()',
}
}
//-->
</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.
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
ASKER
Sorry, I am not that sure what you mean? But if you show me code I 'll get an idea.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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>
<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>
<HEAD>
...
<META HTTP-EQUIV=REFRESH CONTENT="seconds">
...
...
</HEAD>