TimeCircles icon indicating copy to clipboard operation
TimeCircles copied to clipboard

Timers should be responsive, working on it's parent element?

Open bertoost opened this issue 10 years ago • 4 comments

First off; what a great and nice looking countdown! Very nice!

Would be nice if the circels are scaling together with it's parent instead of being static width

bertoost avatar Jan 31 '15 12:01 bertoost

You can achieve this by doing:

$(window).resize(function(){
    $('#Timer').TimeCircles().rebuild();
});

I however agree that it would be nice to have this effect native.

wimbarelds avatar Jan 31 '15 13:01 wimbarelds

Nice! Thanks!

FYI: I am using it here; https://www.modxsimplecart.com/about/take-a-free-tour

bertoost avatar Jan 31 '15 13:01 bertoost

Awesome, looks great and it's always good to see where people are using TimeCircles :)

wimbarelds avatar Jan 31 '15 13:01 wimbarelds

It's not yet implemented the right way (inline JS code etc.) but it's for me now a quick solution. When the demo store is ready (working on it) I will make that better :p

bertoost avatar Jan 31 '15 13:01 bertoost