Giter Site home page Giter Site logo

Comments (8)

wimbarelds avatar wimbarelds commented on July 19, 2024

Hi there, what precisely are you trying to do / what behaviour is it you're after?

You might want to look up the total_duration config option, it might solve your problem. If it doesn't, or you're not sure how to use that, let me know when you're going for.

from timecircles.

oliveratgithub avatar oliveratgithub commented on July 19, 2024

Actually I just want to hide the "Days" circle, because my Countdown is always <= 24 hours :)

It does work for the numbers, as mentioned, but the filled out ring of "Hours" is just not correctly filled out. I thought about using the "total_duration" parameter, but I don't think this is intuitive when giving the TimeCircle intentionally a date for countdown within <24 hours (or even more) and then making use of hiding the Day circle... Shouldn't it fill out the first "Hour" circle then automatically based on the given target date to which it should count down?

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

I tend to agree that the auto setting should then default to a total duration of a day (That was what it should'v been doing), so I'll look into this. However, I just started something that effectively results in me having far less free time. So I'm not sure when precisely I'll look into this.

from timecircles.

oliveratgithub avatar oliveratgithub commented on July 19, 2024

No problem :) My workaround works perfectly for me... and let's keep that Issue here for anyone else running into the same troubles, until it will be fixed some day. Thanks for your prompt support though!

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

Hi there, I got around to doing some testing today, and I did find a few things.

I wanted to ask, do you call $('#Countdown').TimeCircles(); More than once? The reason I ask is because normally, the total_duration: "Auto" only gets processed once (after which it will be converted into a number). So, if you first instantiate TimeCircles and later remove a circle, the result is that it still views "Years" as the total duration.

If you are only calling it once, then I would like to see your code- because it shouldn't be doing that. It should correctly fill the circle (assuming you're using the latest version).

Mind you, I think I'll make it so that it'll recalculate the "Auto" setting upon rebuild.

from timecircles.

oliveratgithub avatar oliveratgithub commented on July 19, 2024

I call it only once - the code snippet I posted in my first post is the only thing I have on my page regarding TimeCircles().

But I will try the newest Version first! Probably I got an old version that was somehow conflicting or so... I'll post back.

from timecircles.

wimbarelds avatar wimbarelds commented on July 19, 2024

This was a problem in an older version, where total duration had not yet
been implemented. Perhaps you didn't have the latest version
Op 13 feb. 2014 13:23 schreef "Oliver" [email protected]:

I call it only once - the code snippet I posted in my first post is the
only thing I have on my page regarding TimeCircles().

But I will try the newest Version first! Probably I got an old version
that was somehow conflicting or so... I'll post back.

Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-34973250
.

from timecircles.

oliveratgithub avatar oliveratgithub commented on July 19, 2024

Yes, seems like - because it works now without my "fix"!

I initially got the version from here: jqueryscript.net

Sorry for raising this issue without having updated to the latest version first - I should have known better... But no idea, why that site is not pointing to the official downloads nor even your website/GitHub project, but instead hosting the (outdated) files themselves.

from timecircles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.