format the counter

Author
Topic
#1470

Hello,

How can i show this format, Hours:Minutes:Seconds.

thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Author
Replies
  • #1471

    Did you checked up the documentation and examples? What is the current code you have and want to modify?

    Milan

  • #1472

    Yes, i have checked the documentation, the mode i want is Counter, the closes settings I found is below code:

      jQuery(document).ready(function() {
        jQuery("#divCountDown").smartTimerCounter({
            skin: "Simple",
            mode: "Counter",
            display: {
                style: "crystal-light",
                labels: "bottom",
                hideDots: true,
                space: "12px"
            },
            model: {
                layout: "Minutes",
                method: "seconds",
                value: 4400
            }
        });
      });

    But this only shows Minutes + Seconds. I need to add Hours.

  • #1473

    You need to adjust ‘layout’ and set it to “Short”. In documentation, in section Modules / Layout you have possible individual values you can combine to get layout. So you can set ‘layout’ to “h:m:s” for same effect.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘format the counter’ is closed to new replies.