Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old July 26th, 2008, 09:04 PM   #1
Reputable Member
 

Join Date: Feb 2006
Location: $_home
Age: 21
Posts: 157
Thanks: 3
Thanked 2 Times in 2 Posts
Rep Altering Power: 0 Stormraven is an unknown quantity at this point
count

how can i make a countdown clock? that counts down to midnight on sunday? i have no idea can someone help me with this?
Stormraven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 26th, 2008, 10:07 PM   #2
Highly Reputable Member
 

Join Date: Mar 2008
Location: Chester, UK
Age: 19
Posts: 562
Thanks: 2
Thanked 41 Times in 41 Posts
Rep Altering Power: 0 Bocaj is on a distinguished road
Re: count

hey check this out http://www.dynamicdrive.com/dynamici...dhtmlcount.htm
Bocaj is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 27th, 2008, 05:00 PM   #3
Reputable Member
 

Join Date: Feb 2006
Location: $_home
Age: 21
Posts: 157
Thanks: 3
Thanked 2 Times in 2 Posts
Rep Altering Power: 0 Stormraven is an unknown quantity at this point
Re: count

Can someone configure this to countdown to midnight tonight (27th july 2008) because everytime i do it i get a message saying 'undefined'
Stormraven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 28th, 2008, 06:27 AM   #4
Reputable Member
 

Join Date: Jul 2008
Location: UK and Spain
Age: 26
Posts: 114
Thanks: 2
Thanked 15 Times in 14 Posts
Rep Altering Power: 0 stu2000 is on a distinguished road
Re: count

Just change the line:

Code:
var futuredate=new cdtime("countdowncontainer", "March 23, 2009 18:25:00")
to:

Code:
var futuredate=new cdtime("countdowncontainer", "July 28, 2008 23:59:59")
and then it will countdown to 'July 28, 2008 23:59:59'....

Obviously you'll have to edit the code in the <head> as it is hard coded to say "left until March 23, 2009 18:25:00".

I hope that makes sense...

[edit] Obviously I'm a bit late, as it's the 28th! lol but it will still work for any date in the future!

Last edited by stu2000; July 28th, 2008 at 06:30 AM..
stu2000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oh No! Post Count Dropped? karinne The Café 1 September 25th, 2007 04:28 PM
count of the elements amit_shetye PHP 2 December 6th, 2005 12:21 PM


Search Engine Optimization by vBSEO 3.2.0 RC8