Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author King Rayhan

    (@kingrayhan)

    yes possible

    Hi,
    I added the ‘Week’ var in this section of js file: “easy-countdowner/assets/TimeCircles.js” :

        var secondsIn = {
            Seconds: 1,
            Minutes: 60,
            Hours: 3600,
            Days: 86400,
            Week: 648000,
            Months: 2678400,
            Years: 31536000
        };

    and then set the total_duration to ‘Week’, in below section:

    
        TC_Instance.prototype.default_options = {
            ref_date: new Date(),
            start: true,
            animation: "smooth",
            count_past_zero: true,
            circle_bg_color: "#60686F",
            use_background: true,
            fg_width: 0.1,
            bg_width: 1.2,
            text_size: 0.07,
            total_duration: "Week",
            direction: "Clockwise",
            use_top_frame: false,
            start_angle: 0,

    I think we can use values like month,year,… for total_duration.

    • This reply was modified 7 years, 5 months ago by echargeu. Reason: edit codes
    • This reply was modified 7 years, 5 months ago by echargeu.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Days Bar’ is closed to new replies.