• Resolved tritongr

    (@tritongr)


    Hi

    This is just to share how I achieved changing the timer format to mm:ss.
    I don’t know if this is the correct way but it worked for me. I left out hours part as I use only a 60 min times.

    Thanks again for this perfect plugin!

    In line 36 of /includes/js/hdq_script.js:

    //jQuery(".hdq_timer").html(hdq_timer);
    min = parseInt(hdq_timer/60);
    min = min < 10 ? '0' + min : min;
    sec = hdq_timer%60;
    sec = sec < 10 ? '0' + sec : sec;
    //hour=parseInt(min/60);
    t = min + ":" + sec;
    jQuery(".hdq_timer").html(t);
    
Viewing 1 replies (of 1 total)
  • great my problem resolved 🙂
    I am beginner so dont know what to do with it. Please plzz just tell me where i can paste this coding to get the desired function active.
    i will really appreciate your support.

Viewing 1 replies (of 1 total)

The topic ‘Countdown timer format’ is closed to new replies.