PDA

View Full Version : 2 countdowns on 1 page



Nerevar
01-13-2006, 07:07 PM
hi! can I put 2(or more) countdowns on one page? if i put the code twice on in the page's html code, it doesn't show it, however it hides my first countdown, too

jscheuer1
01-14-2006, 08:23 AM
This is a stock response:

.

Aside from the tutorial above, which usually is the solution when the problem is two different scripts, you may need to consult:

http://www.howtocreate.co.uk/tutorials/index.php?tut=0&part=0&TOshow=allshow#refcon

Which explains how two scripts on the same page may not use the same set of variable names, id names, function names, etc. This is especially important if the problem is two copies of the same script on a page but, can come into play with two different scripts when the first step won't fix it.

One other approach that works in both situations, if adaptable to one (or more) of the scripts, is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.