Solved

Refreashing a page automatically.

Posted on 1998-07-02
1
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

749 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