TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 04-03-2009, 04:53 AM   #1 (permalink)
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default countdown

Hey guys/gals:

I have a question for you JS pro's....

I've found some countdown JS scripts but you have to set the time ahead of time near the <header>, so it seems like a one shot deal. Like if you were counting down for say a movie opening.

You would set the target date once, and then the script would count down. But I need multiple(random) countdown's....

I generate a random number of rows, each would have a different countdown though. So I was wondering what is the best way to do this? I'll provide a quick example:


Code:
#   User-logged-In    Username
------------------------------
1      100 sec        James Dolan
2      55 sec         John Smith
3      75 sec         Jane Doe

The "user-logged-in" column is where you would see the countdown.

I am in no way a javascript expert. In fact I'm not even a novice. I don't know JS at all..

So I am definitely pleading for help. Would anyone have any suggestions?
allworknoplay is offline  
Reply With Quote
 



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

Advanced Search
Display Modes

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

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


All times are GMT. The time now is 11:54 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design