Solved

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

Posted on 2004-08-10
8
387 Views
Last Modified: 2010-04-17
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.


0
Comment
Question by:marceloNYC
  • 3
  • 2
8 Comments
 
LVL 4

Expert Comment

by:computerg33k
ID: 11767392
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>
0
 

Author Comment

by:marceloNYC
ID: 11767452
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.
0
 
LVL 4

Expert Comment

by:computerg33k
ID: 11767473
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
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:marceloNYC
ID: 11767491
Sorry, I am not that sure what you mean? But if you show me code I 'll get an idea.
0
 
LVL 4

Accepted Solution

by:
computerg33k earned 250 total points
ID: 11767577
window.open("http://www.fda.gov/cder/whatsnew.htm ", "win");

and then

<HEAD>
      ...
      <META HTTP-EQUIV=REFRESH CONTENT="seconds">
      ...
      ...
    </HEAD>
0
 
LVL 3

Expert Comment

by:Sasho
ID: 11767601
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>
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now