PDA

View Full Version : Universal Countdown Script Debug Mode Help



matt8088
12-26-2010, 03:35 PM
1) Script Title: Universal Countdown Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex6/universalcountdown.htm

3) Describe problem: I can't seem to turn of debug mode for this script. I have deleted the "debugmode" string from the code. I have kept the original code mostly intact except for changing the date to a future date on my site: http://enigma.hostei.com

Thank You
Matt8088

jscheuer1
12-26-2010, 05:20 PM
Remove it entirely:


var launchdate=new cdLocalTime("cdcontainer", "server-php", 0, "December 21, 2012 06:12:00")
launchdate.displaycountdown("days", formatresults2)

In an unrelated matter, this from the demo page and copied onto the page you link to is a typo:


<style style="text/css">

.lcdstyle{ /*Example CSS to create LCD countdown look*/
background-color:black;
color:lime;
font: bold 18px MS Sans Serif;
padding: 3px;
}

.lcdstyle sup{ /*Example C . . .

That highlighted part should be:


<style type="text/css">

matt8088
01-04-2011, 06:56 PM
How would I utilize this script in a blog/cms template?