Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Having Trouble With Countdown Timers

    I want to run 2 countdown timers on the same web page simultaneously but only one shows up and counts down. The other is just a frame with nothing in it. And on the bottom in the explorer bar it shows done with errors..

    Both the scripts are the same but with deferent countdown days..

    Any help would be great...
    Last edited by Dingo; 07-04-2005 at 06:14 PM.

  • #2
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so you want two seperate countdown timers huh?

    i think i already know your problem and i havn't seen your code.

    both timers use the same var names, maybe not all but one or two. they should probably even have their own seperate functions.

    like:
    function countdown1(){

    stuff

    }
    function countdown2(){

    stuff

    }

    also all vars, like i said should have a unique name.

    example:
    var Countdown1_day = new Date();
    var Countdown2_day = new Date();

    hope i helped

    Edit: but if you posted your code it might help for a solution
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •