cookiecrumb
05-11-2003, 03:21 PM
Sorry, I know i posted many posts about a similar topic but i just wanted to ask, i am using the following code:
<SCRIPT LANGUAGE = "JavaScript">
var now = new Date();
// set this value to the countdown date.
var then = new Date("June 25, 2003");
var gap = then.getTime() - now.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
document.write(gap);
</SCRIPT>
days 'til whatever
I was wondering if there was a way to make the font a different colour. I can get the "days til" part to another colour, but not the number of days. thanks.
<SCRIPT LANGUAGE = "JavaScript">
var now = new Date();
// set this value to the countdown date.
var then = new Date("June 25, 2003");
var gap = then.getTime() - now.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
document.write(gap);
</SCRIPT>
days 'til whatever
I was wondering if there was a way to make the font a different colour. I can get the "days til" part to another colour, but not the number of days. thanks.