Refresh for chat client

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Refresh for chat client

Post by mzfp2 »

Hi i need my HTML frames to refresh every x seconds, providing the same functionalty as many HTML web chats.

thankyou.
evilcoder
Forum Contributor
Posts: 345
Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia

Post by evilcoder »

<meta http-equiv="refresh" content="3;url=thepagetorefresh.ext">

Place that at the top of the page you a refreshiing, and in the "url" field just simple put the name of the file you a refreshing.

That should work, ten just change the time you want it refreshed to whatever.

content="3 is the amount of time until next refresh.
Post Reply