SDP2006
08-18-2003, 03:07 AM
I was bored so I wrote this script. Its pretty nifty.
<html>
<head>
<title>Countdown to Christmas</title>
<style type="text/css">
BODY {
margin: 0px;
border-top: 15px solid red;
border-left: 15px solid green;
border-bottom: 15px solid red;
border-right: 15px solid green;
scrollbar-base-color: white;
scrollbar-arrow-color: white;
scrollbar-3dlight-color: white;
}
</style>
</head>
<body bgcolor="white">
<font color="green" size="7" face="papyrus">
<center>
<br>
<IMG SRC="http://aunimages.animfactory.com/animations/holiday_events/christmas/merry_christmas_holly_md_wht.gif"><BR>
<scRIPT LANGUAGE="JavaScript">
var now = new Date();
var then = new Date("December 25, 2003");
var gap = then.getTime() - now.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
document.write("Only " + gap + " more days until Christmas");
</SCRIPT>
</center>
</font>
<center><img src="http://www.stanford.edu/group/nacf/pics/christmas.tree.gif"></center>
<center><font face="Verdana, sans-serif" size="1" color="black">Script written by Stevie Peele</center></font>
</body>
</html>
Copy every bit of code into notepad and save it as christmas.html.
Its really nice to look at every now and then.
<html>
<head>
<title>Countdown to Christmas</title>
<style type="text/css">
BODY {
margin: 0px;
border-top: 15px solid red;
border-left: 15px solid green;
border-bottom: 15px solid red;
border-right: 15px solid green;
scrollbar-base-color: white;
scrollbar-arrow-color: white;
scrollbar-3dlight-color: white;
}
</style>
</head>
<body bgcolor="white">
<font color="green" size="7" face="papyrus">
<center>
<br>
<IMG SRC="http://aunimages.animfactory.com/animations/holiday_events/christmas/merry_christmas_holly_md_wht.gif"><BR>
<scRIPT LANGUAGE="JavaScript">
var now = new Date();
var then = new Date("December 25, 2003");
var gap = then.getTime() - now.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
document.write("Only " + gap + " more days until Christmas");
</SCRIPT>
</center>
</font>
<center><img src="http://www.stanford.edu/group/nacf/pics/christmas.tree.gif"></center>
<center><font face="Verdana, sans-serif" size="1" color="black">Script written by Stevie Peele</center></font>
</body>
</html>
Copy every bit of code into notepad and save it as christmas.html.
Its really nice to look at every now and then.