Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Each digit with a span #318

Open
boozeahead opened this issue Jun 6, 2019 · 2 comments
Open

Each digit with a span #318

boozeahead opened this issue Jun 6, 2019 · 2 comments

Comments

@boozeahead
Copy link

Is there any way that I could wrap every digit.
I can find this and its perfect but,
http://hilios.github.io/jQuery.countdown/examples/legacy-style.html

I would like to wrap with
<span> 1 </span> <span>2 </span>
and so on.

Please check this one.
http://learningcms.com/wp-content/uploads/2018/05/07-smart-countdown-fx.jpg

@webwamp
Copy link

webwamp commented Sep 1, 2020

hi @boozeahead that is too easy, just in countdown on update function do this:

`
//in this example "e" is update function passed value

$(this).html(e.strftime("<span>%h</span>:<span>%i</span>")); // get <span>Hours</span> : ...
`

@gettonet
Copy link

gettonet commented Jul 2, 2021

@boozeahead have you found the answer? I'm having the same issue.
@webwamp this is not an answer to question, we need each DIGIT to be wrapped..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants