1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Counter, millions within 24hours ?

Discussion in 'JavaScript' started by Marty_, Jun 27, 2008.

  1. #1
    I'm looking for a script that will display a counter, the counter will display just numbers nothing to do with dates, but it will count into millions within a day period (24hours) then reset daily

    My question, any ideas on what I should be looking for, everything seems to want to count in seconds and or needs a target date but also counts in seconds.
     
    Marty_, Jun 27, 2008 IP
  2. xanadu

    xanadu Well-Known Member

    Messages:
    213
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    125
    #2
    You might be able to modify a time counter (in seconds) so that each second is worth a dozen or so? I mean, that would probably be the easiest and most feasible method.
     
    xanadu, Jun 27, 2008 IP
  3. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can you go into a bit more detail?
     
    MMJ, Jun 27, 2008 IP
  4. yankzilla

    yankzilla Peon

    Messages:
    159
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I thought you could count in milliseconds? Like
    setTimeout('alert(\'Surprise!\')', 5000)
    
    Code (markup):
    That would be 5000 milliseconds, so couldn't you just count those?
     
    yankzilla, Jun 27, 2008 IP