In your existing script where it says:
Code:
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
Just multiply by negative 1 to make make future dates be positive numbers:
Code:
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)*-1
Wait until the big day to do this, you will also need to change the images displayed before and after the numbered images (the 'only' and 'days to go' ones). One other thought, you may want to make an image for:
Code:
var current="Today Is The Big Day!!!"
Like:
var current='<img src="bigday.gif"/>'
Untested but, should work. I didn't want to reset my system date into the future to fully test it.
Bookmarks