View Full Version : Test
97trsgl
25th January 2005, 03:05 PM
******** language="JavaScript">
var now = new Date();
var birthd = new Date("January 07, 2004");
var toGo = birthd.getTime() - now.getTime();
var days = Math.floor(toGo / (1000 * 60 * 60 * 24));
if (days < 0)
document.write("I am celebrating my Birthday as you read this!!");
else if (days < 1)
document.write("I will celebrate my Birthday tomorrow")
else
document.write("I will celebrate my Birthday in <u>" + days + "</u> days")
*********>
97trsgl
25th January 2005, 03:09 PM
<!--Birthday Cake Countdown-->
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="200" bgcolor="#FFFFFF" style="background-color: #FFFFCE; font-family: Comic Sans MS; border: 5px solid #F4F400" #0099FF" bordercolor="#FFFFFF">
<tr>
<td width="100%"><p align="center"> ******** 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("March 30, 2004");
var description = "Alyson'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("It's " + description + "!");
}
document.write("</h5></center>");
// End -->
*********> </td>
<td width="100%"><img src="images/anibdcake.gif" WIDTH="80" HEIGHT="80"></td>
</tr>
</table>
</center></div>
<p align="center"> </p>
<!-- End of Birthday Cake Code-->
tqpix
26th January 2005, 04:11 PM
Testing...
Yay! The forum's back.
tqpix
28th January 2005, 12:02 AM
Testing...
Copyright ©2000-2009, ChristianForums.com