1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Countdown clock for landing page

Discussion in 'Black Hat SEO' started by vinnythejinny, Aug 19, 2010.

  1. vinnythejinny

    vinnythejinny Newbie

    Joined:
    Sep 24, 2008
    Messages:
    20
    Likes Received:
    6
    I have seen many counterdown clocks on clickbank page which basically try to change the buyers mindset that this offer will expire in about 12 hours and sorta crap. This is basically to make the buyer "Hurry" on the offer or else he looses that coupon or whatever.

    I want something similar, so searched google, BHW and other forums but couldn't get something that does this.

    automatically displays the date as "users PC date + 1 day more"

    so if i am from USA and its 19th august today, the LP should should that this coupon code will expire on 20th august. That 20th august should appear dynamically (todays date + 1 day). So on 20th aug, it should show coupon will expire on 21st and so on.

    Appreciate if soemone know a PHP/Javascript code to make this work. thanks
     
  2. happyface

    happyface Newbie

    Joined:
    Feb 15, 2010
    Messages:
    6
    Likes Received:
    0
    yes, I need the same as well
     
  3. THUNDERELVI

    THUNDERELVI Elite Member

    Joined:
    Sep 12, 2009
    Messages:
    2,202
    Likes Received:
    1,729
    Gender:
    Male
    Location:
    W3
    Code:
    <script language="JavaScript">
    TargetDate = "12/31/2020 5:00 AM";
    BackColor = "palegreen";
    ForeColor = "navy";
    CountActive = true;
    CountStepper = -1;
    LeadingZero = true;
    DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
    FinishMessage = "It is finally here!";
    </script>
    <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
    This is a simple script with no design, customize it as you want!

    EDIT: I took this script from this website here: (after I searched on G.) I think it's what you want right?
     
    Last edited: Aug 19, 2010
  4. vinnythejinny

    vinnythejinny Newbie

    Joined:
    Sep 24, 2008
    Messages:
    20
    Likes Received:
    6
    Thanks. I already saw that script but the issue is it sets a target date. I don't want that functionality. What i want is the date should be automatically todays date +1 day. So everyday users will feel that within a day this offer will expire.
     
  5. THUNDERELVI

    THUNDERELVI Elite Member

    Joined:
    Sep 12, 2009
    Messages:
    2,202
    Likes Received:
    1,729
    Gender:
    Male
    Location:
    W3
    Well I guess that you have to change the date everyday then, maybe there is another solution, maybe a dynamic PHP driven page, idk, if there is I'd be happy to hear it, as I have no knowledge in JS or PHP, a programmer should know this...
     
  6. aReJay

    aReJay Power Member

    Joined:
    Apr 29, 2009
    Messages:
    736
    Likes Received:
    237
    Location:
    Down under
    Code:
    var dateString = dateFormat(now + 86400, "fullDate");
    $.("#mySpan").html(dateString);
    
     
  7. CoyoteAssassin

    CoyoteAssassin Elite Member

    Joined:
    Jan 3, 2010
    Messages:
    1,862
    Likes Received:
    3,906
    Occupation:
    Full Time IMer
    Location:
    USA
    I do not want to hijack, but it is along the same lines. Is there a script like this that can be implemented into an email?

    I want people to get the email and based on the time it was received, it will show much much longer the offer is valid.

    Thanks.
     
  8. eshera

    eshera Registered Member

    Joined:
    Nov 13, 2008
    Messages:
    58
    Likes Received:
    108
    If you want something else to use like:

    EXPIRES: Friday ยท August 20, 2010

    HTML:
    EXPIRES: <script language="JavaScript">
    <!--
    var DayOfWeek = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
    var MonthName = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
    var theDate = new Date();
    theDate.setDate(theDate.getDate()+1);
    document.write("<b>" +
    DayOfWeek[theDate.getDay()] + " &middot;</b> " +
    MonthName[theDate.getMonth()] + " " +
    theDate.getDate() + ", " +
    (theDate.getYear() < 1000 ? theDate.getYear() + 1900 : theDate.getYear())) + "<br>";
    //-->
                            </script>
    This is one day ahead....change the "+1" to more days ahead