Count UP Timer

Caskbill

<font color="blue">DVC-Operations<br>DVC-Planning<
Joined
Nov 19, 2000
Messages
7,189
I love the countdown timer and it works fine. However I also thought it would be fun to have a count UP timer also.

Count UP timer = days since my last trip to WDW
Countdown timer = days till the next trip.

<b><i>Following text edited since original post:</i></b>

I looked at the JavaScript for the countdown timer and it was fairly straightforward.

I modified it to make two side by side counters, the first one a count up timer and the second a countdown timer.

There is nothing really new to the script, simply duplicating code already there, creating a second set of variables and reversing the subtraction operand so it takes the current date minus the past date instead of a countdown timer taking a future date minus the current date.

I've tested this and it works fine on my computer and I would like to add it to my siggy. However I know your concerns.

So if OK with you, I could first post it here on the tech board in the body of a post first, and not in the signature.

Or, I could E-mail the modified script (txt format) if someone wants to review it first.

Just trying to abide by the rules for the board. Definitely don't want to crash anything.

Sure would like to put this into my siggy. So please let me know.

P.S., this is a modification of the JavaScript directly and is not something that would be for general use unless the original author (Jim) wants to do something.


Thanks in advance.

Bill
 
I'm not ignoring this. Hang on just a little bit longer please.

JC
 
Thanks Mr. J. Cricket, I'll wait to hear back.

Bill
 
Go ahead and do it as long as you meet 4 conditions:

1) Post the code here first outside of your signature and get the "OK" from one of us before you put it in your signature.

2) You are responsible for the mass of people that ask about it after you show it off (yes, it will happen :D ) They will have to follow the same rules as you did to put it into their signatures too. This means that they need to understand the changes and not just how to "cut" and "paste" them.

3) Know that we will not support it now, or in the future. If it causes a problem, we will pull it without warning or explanation.

4) Notify Jim that you are doing it (if he hasn't seen this already). That's just polite. :D


This really goes to any custom coding, and not just you, so don't think we are picking on you or anything. We talked about it and it would be unfair to disallow you the custom code when the fact is the regular countdowns wouldn't be there if we disallowed coding to begin with (which we did do for a while).

Good Luck!


JC
 













Receive up to $1,000 in Onboard Credit and a Gift Basket!
That’s right — when you book your Disney Cruise with Dreams Unlimited Travel, you’ll receive incredible shipboard credits to spend during your vacation!
CLICK HERE







New Posts







DIS Facebook DIS youtube DIS Instagram DIS Pinterest DIS Tiktok DIS Twitter DIS Bluesky

Back
Top