Countdown timer format
-
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)
Viewing 1 replies (of 1 total)
The topic ‘Countdown timer format’ is closed to new replies.