Skip to content

Auto Renew startTime +7 days #39

@jmmaynard

Description

@jmmaynard

Hello!

This is a very nice script! Thank you for sharing!!

I'm hoping you can help me auto renew my startTime after countdown completion. I'd like to add 7 days to the startTime.

eg. countdown would expire on Sunday at 9:15am and renew to the following Sunday at 9:15am.

Here is my code:

$(document).ready(function(){
    var _date = new Date();
    _date.setMonth(0);
    _date.setDate(13);
    _date.setHours(09);
   _date.setMinutes(15);
   _date.setSeconds(0);
    $('#counter').countdown({
      image: '/development/_lib/images/digits.png',
      startTime: _date
    });
  });

Thank you in advance for the help :)

Dev site: http://www.maynardnambiar.com/development/countdown.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions