Count down Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Count down

    JennyorAlice
    JennyorAlice
    Active Poster


    Female Posts : 1204
    Reputation : 55
    Language : U. S. English
    Location : U. S. A.

    Solved Count down

    Post by JennyorAlice March 14th 2013, 7:10 pm

    I want to make a counter visible on my forum counting down to an important event. What's the best way to do that?
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Count down

    Post by Sanket March 14th 2013, 7:16 pm

    levy
    levy
    Hyperactive


    Male Posts : 2631
    Reputation : 350
    Language : English, Romanian
    Location : Romania

    Solved Re: Count down

    Post by levy March 14th 2013, 7:17 pm

    Code:
     <head>
    <script LANGUAGE="JavaScript">
    var now = new Date();
    var theevent = new Date("Sep 29 2007 00:00:01");
    var seconds = (theevent - now) / 1000;
    var minutes = seconds / 60;
    var hours = minutes / 60;
    var days = hours / 24;
    ID=window.setTimeout("update();", 1000);
    function update() {
    now = new Date();
    seconds = (theevent - now) / 1000;
    seconds = Math.round(seconds);
    minutes = seconds / 60;
    minutes = Math.round(minutes);
    hours = minutes / 60;
    hours = Math.round(hours);
    days = hours / 24;
    days = Math.round(days);
    document.form1.days.value = days;
    document.form1.hours.value = hours;
    document.form1.minutes.value = minutes;
    document.form1.seconds.value = seconds;
    ID=window.setTimeout("update();",1000);
    }</script>
    </head>
    <body>

    <p><font face="Arial" size="3">Countdown To January 31, 2000, at 12:00: </font></p>
    <form name="form1"><p>Days <input type="text" name="days" value="0" size="3"> Hours
    <input type="text" name="hours" value="0" size="4"> Minutes <input type="text" name="minutes" value="0"
    size="7"> Seconds <input type="text" name="seconds" value="0" size="7"> </p>
    </form>

    </body>
    </html>

    That is the basic ,chage how did you want.
    JennyorAlice
    JennyorAlice
    Active Poster


    Female Posts : 1204
    Reputation : 55
    Language : U. S. English
    Location : U. S. A.

    Solved Re: Count down

    Post by JennyorAlice March 14th 2013, 7:41 pm

    Sanket wrote:http://www.timeanddate.com/countdown/create
    Maybe that will help.

    Thank you, Sanket. I've found a timer like I want but I want to know how to the the 'timeanddate.com' logo off of it?

    Code:

    <iframe src="http://free.timeanddate.com/countdown/i3jkvlpj/n2109/cf111/cm0/cu4/ct0/cs0/ca0/cr0/ss0/cac000/cpc000/pc66c/tc66c/fs100/szw320/szh135/tatI%20Am%20Alice/tac000/tptTime%20since%20Event%20started%20in/tpc000/matRelease%20Date/mac000/mpc000/iso2013-09-03T00:00:00" frameborder="0" width="320" height="135"></iframe>



    candy_fear wrote:
    Code:
     <head>
    <script LANGUAGE="JavaScript">
    var now = new Date();
    var theevent = new Date("Sep 29 2007 00:00:01");
    var seconds = (theevent - now) / 1000;
    var minutes = seconds / 60;
    var hours = minutes / 60;
    var days = hours / 24;
    ID=window.setTimeout("update();", 1000);
    function update() {
    now = new Date();
    seconds = (theevent - now) / 1000;
    seconds = Math.round(seconds);
    minutes = seconds / 60;
    minutes = Math.round(minutes);
    hours = minutes / 60;
    hours = Math.round(hours);
    days = hours / 24;
    days = Math.round(days);
    document.form1.days.value = days;
    document.form1.hours.value = hours;
    document.form1.minutes.value = minutes;
    document.form1.seconds.value = seconds;
    ID=window.setTimeout("update();",1000);
    }</script>
    </head>
    <body>

    <p><font face="Arial" size="3">Countdown To January 31, 2000, at 12:00: </font></p>
    <form name="form1"><p>Days <input type="text" name="days" value="0" size="3"> Hours
    <input type="text" name="hours" value="0" size="4"> Minutes <input type="text" name="minutes" value="0"
    size="7"> Seconds <input type="text" name="seconds" value="0" size="7"> </p>
    </form>

    </body>
    </html>

    That is the basic ,chage how did you want.

    Thank you, candy_fear. I may be using this or the one Sanket gave me.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Count down

    Post by Sanket March 14th 2013, 7:42 pm

    I don't think you would be able to remove the logo or even allowed to remove it.
    JennyorAlice
    JennyorAlice
    Active Poster


    Female Posts : 1204
    Reputation : 55
    Language : U. S. English
    Location : U. S. A.

    Solved Re: Count down

    Post by JennyorAlice March 14th 2013, 7:47 pm

    Sanket wrote:I don't think you would be able to remove the logo or even allowed to remove it.

    Okay, how do I edit the code candy_fear gave me?

    The date I want to put in is September 3, 2013 and the reason is the next book in the series is being released on that day. So how can I make a countdown to that day? Can I put a title saying "Release Date" or "Countdown to 'I Am Alice' "?
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Count down

    Post by Sanket March 14th 2013, 7:51 pm

    var theevent = new Date("Sep 29 2007 00:00:01")

    Thats the part that you need to change. So just change the date.

    Yes, modify the text as you want it.
    JennyorAlice
    JennyorAlice
    Active Poster


    Female Posts : 1204
    Reputation : 55
    Language : U. S. English
    Location : U. S. A.

    Solved Re: Count down

    Post by JennyorAlice March 14th 2013, 8:08 pm

    I don't know what I'm doing wrong but it's not working.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Count down

    Post by Sanket March 14th 2013, 8:12 pm

    I have not tried it, so can't say much. Where did you add the code?
    JennyorAlice
    JennyorAlice
    Active Poster


    Female Posts : 1204
    Reputation : 55
    Language : U. S. English
    Location : U. S. A.

    Solved Re: Count down

    Post by JennyorAlice March 14th 2013, 8:21 pm

    Wait, I think I have it figured out.

    Do you know the number of the color cyan?
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Count down

    Post by Sanket March 14th 2013, 8:24 pm

    #00FFFF
    Source Wikipedia. lol
    JennyorAlice
    JennyorAlice
    Active Poster


    Female Posts : 1204
    Reputation : 55
    Language : U. S. English
    Location : U. S. A.

    Solved Re: Count down

    Post by JennyorAlice March 14th 2013, 8:38 pm

    Oh, Sorry. Embarassed

    Anyway, I wasn't able to make the one from candy_fear work but I was able to get the one you gave me work though. So I'm marking this solved. Thanks! Very Happy
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: Count down

    Post by Sanket March 14th 2013, 8:43 pm

    Don't have to be sorry. Wink

    Topic Solved & Locked