RE: Compiling Date Script that refreshes itself
by Rebecca Campbell <rcampbel(at)standard.com>
|
| Date: |
Tue, 18 Jan 2000 11:38:32 -0800 |
| To: |
"'Sam'" <ssendon(at)icqmail.com>, hwg-techniques(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
sam,
javascript isn't compiled, but is automatically interpreted by the browser
(although different browsers and different versions support different
functions). to have your javascript in a separate file, all you need to do
is copy and paste it to a blank document (use notepad or a plain text editor
like that). don't include the <script></script> tags, just the javascript.
name this file with a .js extension.
to allow your html pages to read and use the javascript, put this in between
your <head> tags:
<script language="javascript" src="path/to/file.js"></script>
hth,
-rebecca
http://www.nerdygirl.com
-----Original Message-----
From: Sam [mailto:ssendon(at)icqmail.com]
Sent: Tuesday, January 18, 2000 10:18 AM
To: hwg-techniques(at)hwg.org
Subject: Compiling Date Script that refreshes itself
http://members.xoom.com/_XMCM/ssendon/nfsitev2/index.html
dear people,
I am here again! with my third question... =) i hope you won't get enough of
me... =)
My third question is... can I compile my date script found within the url
above as a date.js or something like that, so as to avoid using floating
frames? This is my other option if I won't be able to remove the arrowheads
in the floating frame...
The catch is, if ever I compiled it, will the minutes still refresh every 60
seconds? or if i place there a seconds digit, will it also refresh every
second?
Next, I haven't yet tried to compile any Javascripts into a .js file... Can
anyone give me info on this? i mean, the softwares i need to do this or
whatever i need...?
I am asking this because as of now, I've only placed a meta tag at the head
of my time.html page so as to refresh it every 10 seconds that way, the
minute hand will also follow the PC's minutes at most 10 seconds late...
please check the page for a more vivid description... =)
Well, I haven't yet received any reply to my first two questions.. I hope
anyone of you can answer any of my inquiries... thanks again... =)
Samuel T. Sendon II
NETFUZE Hypermedia Designs
http://www.geocities.com/ssendon - my Homepage
-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.