Re: Date Script that refreshes itself
by "Rossi Designs" <webmaster(at)rossidesigns.net>
|
Date: |
Wed, 19 Jan 2000 11:11:13 -0500 |
To: |
<hwg-techniques(at)hwg.org>, "Sam" <ssendon(at)icqmail.com> |
References: |
cp |
|
todo: View
Thread,
Original
|
|
try something like this
<body onload="refreshWindow();">
in the head
function refreshWindow() {
window.setInterval("document.popUpName.reload();",1000);
}
this is in addition to the code you used to create the window and you would
need to substitute the name you called the window for popUpName. 1000 is one
second, changing that value would change the amount of time between
refreshes, the sample code does not check for compatibility with older
browsers. *NOTE* some visitors may not like something that constantly
refreshes.
Rossi Designs
(904) 226-8979
P.O. Box 1084, Holly Hill, Florida 32125-1084
http://rossidesigns.net
----- Original Message -----
From: Sam <ssendon(at)icqmail.com>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, January 19, 2000 8:11 AM
Subject: Date Script that refreshes itself
| http://members.xoom.com/_XMCM/ssendon/nfsitev2/index.html
|
| Hello again,
|
| Actually, I have already sent this type of message before but did not get
any response. I am re-writing my prev email for those who haven't read my
prev email concerning the same subject.
|
| I made a page that uses a few Javascripts including it's Date script. I
wanted the script to refresh everytime the minute changes so as to be
almost in synchrony with the client's system date. To do this, i placed the
script in a floating frame and placed a meta tag to refresh the time page
every ten seconds. The problem I am encoutering right now is the existence
of up and down arrow heads in the Floating frame when viewed in IE5... I
also tried to view it in IE4 and it shows ok without those up and down arrow
heads... but in IE5, well...
|
| anyway, my other option is to look for a script that will refresh my the
date only (every seconds, if possible) without refreshing the whole page.
Presently, I only have a rough idea. Anyway, I hope you could give me more
options.
|
| Thanks for your replies... =)
|
| Sam
|
|
|
| -------------------------------------------------------------
| Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
|
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA