[Javascript] Date Script doesn't jive

BEKIM BACAJ Trojani2000 at hotmail.com
Wed Apr 18 10:57:29 CDT 2001


Yes, timers interfere in between. They use alot of memory, and if they never stop, another timer that is invoket in meantime will not run smoothely. There is a way to escape from this situation and it is: using the same timer for different timings.
But that is not allways possible. and another is to interrupt the other timer tha is on, turn it off with the same function you invoke the newer one. and back on when the second timer running is insuficient. Or there is another possibility.
Maby you're problem is caused with the same name variable and similar. You can avoid it if you use diferent scripts placing them in different <script> tags. That way they wan't enterfere.
Regards



----- Original Message -----
From: Sara Coren
Sent: Wednesday, April 18, 2001 4:24 PM
To: 'javascript at LaTech.edu'
Subject: [Javascript] Date Script doesn't jive


Hi there:

I'm trying to use a "pre-fab" date script that I got off the a Javascript freebie site, and it screws with the other javascript that I am using on the page, for some ungodly reason.  I have a timer set up that gives a screen show of images that are declared within the script, and a pauser() that delays the start of the screen show.  I am wondering if the clock script is somehow interfering with the cycle() function initializing.  Anyhoo, I hope I'm explaining this correctly.

The page with all the javascript in it can be seen at
http://home.earthlink.net/~score77/home.html

Thanks for your help!

Sara<br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010418/92943303/attachment.htm>


More information about the Javascript mailing list