Solved

Refreashing a page automatically.

Posted on 1998-07-02
1
156 Views
Last Modified: 2010-04-09
Hi,
     I was wondering how I would reload a page every 5 seconds or so automatically.
Thanks in advance.
0
Comment
Question by:cide
1 Comment
 
LVL 2

Accepted Solution

by:
johnny99 earned 10 total points
ID: 1844532
OK first of all, not all browsers do this: Netscape 2 and greater, Explorer 3.1 but not 3.0 I think, but anyway...

Put this code into the <HEAD>...</HEAD> portion of your page:

<META HTTP-EQUIV="refresh" CONTENT="n ; URL=url">

Where n is the number of seconds and url is the url you want it to go to. If you just want it to refresh itself then you don't put the URL=url part.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

744 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

13 Experts available now in Live!

Get 1:1 Help Now