Looking for amazing jquery guy for quick fixation

Discussion in 'Programming' started by sami1255, Jul 29, 2012.

  1. #1
    We have a group deals website and are using jquery.jcountdown1.3.js for countdown.

    The problem is that it takes the countdown reference from user machine time and not server time. So if user changes time on his/her computer, this affects the whole purpose of having a countdown.

    Shouldn't take more like 15-20 minutes if you are truly skillful and not a time waster.

    html:
    
    <div class="timer" id="time1"></div>
    
    script:
    
    <script type="text/javascript">
    $(document).ready(function() {
    $("#time1").countdown({
    date: "<?php echo $endDate;?>", 
    htmlTemplate: "<span>%{d}</span><span>:</span><span>%{h}</span><span>:</span><span>%{m}</span><span>%{s}</span>",
    onChange: function( event, timer ){
    
    },
    onComplete: function( event ){ 
    $(this).html("Completed");
    },
    leadingZero: true,
    direction: "down"
    });
    Code (markup):

     
    sami1255, Jul 29, 2012 IP