WHOT?[/b]
Quote from: StoreClerk on January 06, 2007, 12:05:39 AMWHOT?[/b]>.< My ear drums shattered when I read that. X_x
<script language="Javascript"><!-- //Custom Inline Javascript Countdown //Script by ZansStuff.com //<a class="linkification-ext" href="http://www.zansstuff.com/countdowngen.shtml" title="Linkification: http://www.zansstuff.com/countdowngen.shtml">http://www.zansstuff.com/countdowngen.shtml</a> //if(navigator.appName != "Microsoft Internet Explorer") { //document.write('<layer id="clock"></layer>'); //} //if (navigator.appVersion.indexOf("MSIE") != -1){ //document.write('<span id="clock"></span>'); //} upclock(); document.write('<span id="clock">'+timeString+'</span>'); //if(navigator.appName != "Microsoft Internet Explorer") { //document.write(timeString); //}function upclock(){ targetMonth = 2; //the month of the target. See comment on localTime. targetDate = 11; //the date of the target. See comment on localTime. targetHour = 0; //the hour part of the time of the target, in 24 time. See comment on localTime. targetMinute = 00; //the minute part of the time of the target. See comment on localTime. targetSecond = 0; //the second part of the time of the target. See comment on localTime. targetYear = 2007; //the year of the target. See comment on localTime. localTime = 0; //set to 1 if countdown is to an event in the browser's local timezone (such as the new year). If set to 0, all targetSomething variables must be in UTC. roundSeconds = 0; //set this to 1 to round to the nearest second. textIntro = "There are "; //this is the text shown before the time remaining if the target hasn't passed. textClose = " until you go buy BL Retail." //this is the text shown after the time remaining if the target hasn't passed. passedMessage = "ZOMG BUY PLX."; //this is what is shown if the target has passed.//You shouldn't need to edit anything below this line notzero = 0; hasPassed = 0; upInterval = 500; today = new Date(); if(localTime == 0) { today = new Date(today.getUTCFullYear(), today.getUTCMonth(), today.getUTCDate(), today.getUTCHours(), today.getUTCMinutes(), today.getUTCSeconds(), today.getUTCMilliseconds());} targetDate = new Date(targetYear, (targetMonth - 1), targetDate, targetHour, targetMinute, targetSecond); milliSeconds = (targetDate - today); if (milliSeconds < 0){hasPassed = 1;} seconds = parseInt(milliSeconds / 1000); milliSeconds = milliSeconds - (seconds * 1000); minutes = parseInt(seconds/60); seconds = seconds - (minutes * 60); hours = parseInt(minutes/60); minutes = minutes - (hours * 60); date = parseInt(hours/24); hours = hours - (date * 24); if (roundSeconds == 0) {seconds = cent(seconds + (milliSeconds / 1000)); upInterval = 100;} if (date != 0){notzero = notzero + 1;} if (hours != 0){notzero = notzero + 1;} if (minutes != 0){notzero = notzero + 1;} if (seconds != 0){notzero = notzero + 1;} if (date == 0 ){date = ("");} if (date == 1 ){date = (date+" day");} if (date != 1 && date < 10 && date > 0){date = (date+" days");} if (date > 9){date = (date+" days");} if (minutes != 0 || seconds != 0 || hours != 0){ if (date != 0 && notzero > 2){date = date+", ";};} if (minutes == 0 && seconds == 0 && hours != 0){date = date+" and ";} if (hours == 0 ){hours = ("");} if (hours == 1 ){hours = (hours+" hour");} if (hours != 1 && hours < 10 && hours > 0){hours = (hours+" hours");} if (hours > 9){hours = (hours+" hours");} if (seconds != 0 || minutes != 0){ if (notzero > 2 && hours != 0){hours = hours+", ";};} if (seconds == 0 && minutes != 0){hours = hours+" and ";} if (minutes == 0 ){minutes = ("");} if (minutes == 1){minutes = (minutes+" minute");} if (minutes != 1 && minutes < 10 && minutes > 0){minutes = (minutes+" minutes");} if (minutes > 9){minutes = (minutes+" minutes");} if (seconds != 0 && minutes != 0 && notzero > 2){minutes = minutes+",";} if (seconds == 0 ){seconds = ("");} if (seconds == 1){seconds = (" and "+seconds+" second");} if (seconds != 1 && seconds < 10 && seconds > 0){seconds = (" and "+seconds+" seconds");} if (seconds > 9){seconds = (" and "+seconds+" seconds");} if (hasPassed == 1){textIntro = passedMessage;date = "";hours = "";minutes = "";seconds = "";textClose="";} timeString = textIntro+date+hours+minutes+seconds+textClose; } function doclock() { upclock(); clock.innerHTML = timeString; } setInterval("doclock()",upInterval); function cent(amount) { // returns the amount in the .99 format amount -= 0; amount = (Math.round(amount*100))/100; return (amount == Math.floor(amount)) ? amount + '.00' : ( (amount*10 == Math.floor(amount*10)) ? amount + '0' : amount); } //--> </script> <NOSCRIPT> Countdown can only be viewed with Javascript enabled. </NOSCRIPT>
Cause i play it, and i find it confusing yet fun :PEdit: I'll get a screenshot sooner or later