kittysleep.gif (5237 bytes)

 

For this countdown button to work, you need to do the following things:

1) Copy this  image to your computer, either on a floppy disc or to your hardrive, and upload it to your home page:

kittysleep.gif (5237 bytes)

2) Cut and paste (or copy) the html code into your page.  It must be EXACT for it to work.  The image is called "kittysleep.gif"    Don't change it!

3) Please link to: Countdown by Roxydoll12 

HERE IS THE CODE: 

<!-- Start of Kitty Code-->

<div align="center"><center>

<table border="0" cellpadding="0" cellspacing="0" width="200" bgcolor="#66D9FF" style="background-color: rgb(255,225,242); font-family: Georgia; color: rgb(255,23,156); border: 2px solid rgb(255,23,156)" #0099FF" bordercolor="#0099FF">

<tr>

<td width="100%"><p align="center">&nbsp; <script LANGUAGE="JavaScript">

<!-- Original: Alan Palmer -->

<!-- Web Site: <http://www.jsr.communitech.net> -->

<!-- This script and many more are available free online at -->

<!-- The JavaScript Source!! <http://javascript.internet.com> -->

<!-- Begin

var date = new Date("September 12, 2004");

var description = "Alexa's Birthday!";

var now = new Date();

var diff = date.getTime() - now.getTime();

var days = Math.floor(diff / (1000 * 60 * 60 * 24));

document.write("<center><h5>")

if (days > 1) {

document.write(days + " days until " + description);

}

else if (days == 1) {

document.write("Only two days until " + description);

}

else if (days == 0) {

document.write("Tomorrow is " + description);

}

else {

document.write("Today is " + description + "!");

}

document.write("</h5></center>");

// End -->

</script> </td>

<td width="100%"><img src="images/kittysleep.gif" alt="kittysleep.gif (5237 bytes)" WIDTH="100" HEIGHT="96"></td>

</tr>

</table>

</center></div>

<!--end of Kitty Code-->

 

Personalize the Code for your birthday as follows:

1) Put in your  birthday  in the line of the html code that begins "var date=new date". Make sure the year is 2004.  When your birthday passes in 2004, you will have to change the year to 2005 for the countdown to work again.

2) Replace Alexa's name in the line that begins "var description=" with your name. 

That's all you have to do, and your countdown will look like this:

 

 

kittysleep.gif (5237 bytes)