H
T
M
L

wave font
<center><TABLE BORDER=0 STYLE="filter:wave(add=5, phase=1, freq=2, strength=1)"><TR><TD><FONT SIZE="5"><FONT COLOR="dodgerblue"><font face="book antiqua"><b>UR MESSAGE HERE</td></tr></table>

message on status bar
instrution - put the message where it tells u to, and make sure u put it in between the ; and the & and don't delete those things, otherwise it won't work
<img src="jAvascript:window.status='UR MESSAGE HERE';" width=0 height=0>

pop-up alert box

instruction - put ur message where it tells u to, and make sure u didn't erase the & and ; mark, cuz it won't work if u did.
<img src="jAvascript:alert('wElCoM 2 My iT')" WIDTH=175 HEIGHT=100>

raining effect
instructions - change the width, left, top, index, with other numbers, and the direction u want it to scroll from, the height, which is how far down u want it to scroll to, and the scroll delay, which is how slow or fast u want it to scroll, and replace the URL with the pic u want to scroll
<TABLE STYLE="position: absolute; width: 50; left: 300; top: 100; z-index: 0"><TR><TD><MARQUEE DIRECTION=DOWN HEIGHT=1000 SCROLLDELAY=300><IMG SRC="http://www.angelfire.com/vt2/kc_viet_girl/lilanimation/star.gif"></MARQUEE></TD></TR></TABLE>

<TABLE STYLE="position: absolute; width: 50; left: 150; top: 100; z-index: 0"><TR><TD><MARQUEE DIRECTION=DOWN HEIGHT=1000 SCROLLDELAY=225><IMG SRC="http://www.angelfire.com/vt2/kc_viet_girl/lilanimation/pinkstar.gif"></MARQUEE></TD></TR></TABLE>

<TABLE STYLE="position: absolute; width: 50; left: 600; top: 100; z-index: 0"><TR><TD><MARQUEE DIRECTION=DOWN HEIGHT=1000 SCROLLDELAY=250><IMG SRC="http://www.angelfire.com/vt2/kc_viet_girl/lilanimation/star.gif"></MARQUEE></TD></TR></TABLE>

<TABLE STYLE="position: absolute; width: 50; left: 450; top: 100; z-index: 0"><TR><TD><MARQUEE DIRECTION=DOWN HEIGHT=1000 SCROLLDELAY=200><IMG SRC="http://www.angelfire.com/vt2/kc_viet_girl/lilanimation/pinkstar.gif"></MARQUEE></TD></TR></TABLE>

image cursor

instructions - change the URL to the image that u want ur cursor to be
<img src="http://www.angelfire.com/vt2/viet_girl_816/jonny_angel/JA_azngirlie_816.gif" ID="aahh" STYLE="position:absolute;<br>" onLoad="javascript:function movecursor() {document.all.aahh.style.pixelTop = event.y + document.body.scrollTop + 10; document.all.aahh.style.pixelLeft = event.x + document.body.scrollLeft + 10;}document.onmousemove=movecursor;">

border

instructions - change the numbers of "px" that's how thick u want it to be, and change the "border-color" to whatever color u want it to be .
<style type="text/css">body {border-style: solid; border-top-width: 5px; border-bottom-width: 5px; border-left-width: 5px; border-right-width: 5px; border-color: red;}</style>

border type 2
instuctions - change the ridge, that'z how thick u want ur border to be, and the color.

<head><style> body{ border: .07in ridge RED }</style>

background music - midi file

instruction - change the URL to where u the music is, and the width and height, if u don't want to have a box that lets the visitor play it or stop it then on the height and width put in 0 and change the loop number to how many times u want the song to play.

<EMBED SRC="http://www.geocities.com/designergirl99/midis/creep.mid" [AUTOSTART="true"] [WIDTH="100"] [HEIGHT="50"] [LOOP="1"]>

background music - realaudio file

instructions - it has basically the same concept as how to put the midi on
<EMBED SRC="http://www.tranceformz.com/realaudio/love.ram" WIDTH="0" HEIGHT="0" CONTROL="smallconsole" AUTOSTART="true" LOOP="true" AUTOREPLAY="true" type=audio/x-pn-realaudio-plugin exts=ra, ram init fn=load-types mime-types=mime.types>

up and down bouncy message

instructions - change the font size, type, color, and things like that, and replace with ur message at where it tells u.
<BR><center><marquee direction=up behavior=alternate height=70><marquee direction=right behavior=alternate><font face="comic sans ms"><font color="0099ff"><font size="4">:~~:UR MESSAGE HEA:~~:
<BR></marquee></marquee>

side 2 side bouncy message

\\instructions - change the font size, type, color, and things like that, and replace with ur message.
<font color="0099ff"><font face="tempus sans itc"><font size="3">
<center><marquee behavior=alternate align=middle width="5%">m</marquee><marquee behavior=alternate align=middle width="5%">.</marquee><marquee behavior=alternate align=middle width="5%">e</marquee><marquee behavior=alternate align=middle width="5%">.</marquee><marquee behavior=alternate align=middle width="5%">s</marquee><marquee behavior=alternate align=middle width="5%">.</marquee><marquee behavior=alternate align=middle width="5%">s</marquee><marquee behavior=alternate align=middle width="5%">.</marquee><marquee behavior=alternate align=middle width="5%">a</marquee><marquee behavior=alternate align=middle width="5%">.</marquee><marquee behavior=alternate align=middle width="5%">g</marquee><marquee behavior=alternate align=middle width="5%">.</marquee><marquee behavior=alternate align=middle width="5%">e</marquee>

oval message opacity thing
instructions - change the font size, type, colors, pixel width, and height and things like that, and replace with ur message
<center><input type=button value="message" style="font- kufamily:comic sans ms;font-size:10pt;color:CC99FF;font-weight:bold;height:35px;width:85px;background-color:99ccff;filter:alpha(style=2,opacity=100,finishopacity=0);cursor:arrow">

Table 1
<FONT FACE="Helvetica,Arial,Verdana" SIZE=2><BR><B></B><BR><font size="3" face="Comic Sans"</font></font><br><font face="Comic Sans" size="3"><b></B>

<center><table border="4" bordercolor="red" width="500" height="50"><center><tr><td bgcolor="Black" colspan="3"><center><font size="3"><font color="Yellow"><marquee direction="left" scrolldelay="50"><B>...message...<tr>

<td bgcolor="Black"><center><font color="Yellow" size="3" font face="Comic Sans"><marquee direction="up" width=190%><br><B> <BR>m<br>e<br>s<br>s<br>a<br>g<br>e<br></marquee></td>

<td bgcolor="Black" width="90%"><font color="Yellow"><font size="3" face="Comic Sans"><Marquee direction="up" scrollamount="1"><center>...ur message goes hea...</center></td>

<td bgcolor="Black"><center><font color="Yellow"><size="3" face="Comic Sans"><marquee direction="down" width=190%><br><B> <BR>m<br>e<br>s<Br>s<br>a<br>g<br>e<br><B> <BR><br></marquee></td><tr>

<td bgcolor="Black" colspan=3><font color="Yellow"><center><marquee direction="right"><B>...message... </center></table></B></u></i></a></center></font></B></u></i></a></center></font><br><br><font size="3"></B></U></I></A></CENTER></FONT>

marquee with arrows...
instructions - change the message, color, size, things like that
<center><FONT color=#0099ff>
<BR><MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%"><font face=Webdings>4</font></MARQUEE><MARQUEE scrollAmount=1 direction=left width="2%">| |   |</MARQUEE><FONT color=#0099ff><B> menu </B></FONT></B><FONT color=#0099ff><MARQUEE scrollAmount=1 direction=right width="2%">|   | |</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font face=Webdings>3</font></MARQUEE></FONT>

changin cursor shape
instructions - change the type of cursor shape u want it to be, click on the example page for some variety of the cursors types
<style><--body {cursor: crosshair} //--></style>
      
drop down list
instructions - change the font size, type, colors, pixel width, and height and things like that, and replace with ur message.
<select style="background-color: #003399; color: #99CCFF; font-family: Comic Sans MS; font-size: 10px;"><option>drop down list...</option><option>item 1</option><option>item 2</option><option>item 3</option><option>and so on..</option></select>

hover image
instructions - change the image u wanna use, and things like that
<style><a:link {text-decoration: none} a:active {text-decoration: none} a:visited {color:text-decoration: none} a:hover{color:silver;fontfamily:dungeon;text-decoration:underline;background-image: url(http://www.angelfire.com/mo3/kc_viet_girl/hover/hover01.gif) } --></style><BR><BR>

<center><FONT color=#0099ff>
<BR><MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%"><font face=Webdings>4</font></MARQUEE><MARQUEE scrollAmount=1 direction=left width="2%">| |   |</MARQUEE><FONT color=#0099ff><B> menu </B></FONT></B><FONT color=#0099ff><MARQUEE scrollAmount=1 direction=right width="2%">|   | |</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font face=Webdings>3</font></MARQUEE></FONT>

<FONT FACE="Lucida Handwriting,Arial,Verdana" SIZE=2><BR><B></B><BR><font size="3" face="Lucida Handwriting"</font></font><br><font face="Comic Sans" size="3"><b></B>
                
Linked Image
A linked image, also u can type in a message that will say something on the bottom of your page when you put your mouse ever this linked image.
<!-- cut N paste -->
<a href="http://www.yoursite.com" onmouseover="window.status='message or whatever here';return true" onmouseout="window.status='';return true"><img src="http://yoursite.com/image/picture.jpg" border="1"></a>

Linked Text
When you put your mouse over a link it will say something on the bottem of your page
<!-- cut N paste -->
<a href="http://www.yourdomain.com" onmouseout="window.status=''; return true" onmouseover="window.status='WINDOW TEXT HERE'; return true">Text Here</A>       
No Right Click Warning
When someone right click on your website, this will give them a warning to not right click again, if they do right click again they will get kicked off.

<!-- cut N paste -->
<script LANGUAGE="JavaScript">

document.onmousedown=click
var times=0
var times2=10
function click() {
if ((event.button==2) || (event.button==3)) {
if (times>=1) { bye() }
alert("Dont right click again or else.");
times++ } }
function bye() {
alert("DUMBASS");
bye() }

</script>

Banner Killer
Angelfire
To get rid of the popup window put the following code in the head tag (before the body tag)
<!-- cut N paste -->
<SCRIPT LANGUAGE="JavaScript">
<!--
function open () {return true;}
//-->
</SCRIPT>

Tripod (USA)
insert this code after the tag and before the tag.
<!-- cut N paste -->
<script language="JavaScript">
<!--
function TripodShowPopup() {
// open the popup window
var popupURL = "http://members.tripod.com/adm/popup/
roadmap.shtml";
var popup = window.open(popupURL,"TripodPopup",
'toolbar=0,location=0,directories=0,status=0,menubar=0,
scrollbars=0,resizable=0,width=477,height=110');
popup.document.write('<script language="javascript">');
popup.document.write('setTimeout(');
popup.document.write('"self.close()');
popup.document.write(';",0000)');
popup.document.write('</');
popup.document.write('script>');
if( navigator.appName.substring(0,8) == "Netscape" ) {
popup.location = popupURL;
} }
TripodShowPopup();
// -->
</script>

Password Table Protection
Name= java Password= script

<SCRIPT LANGUAGE="JavaScript">

<!-- Available at http://www.angelfire.com/pe/javascripts -->


<!-- Begin
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="member1" && password=="password1") { window.location="page1.html"; done=1; }
if (username=="member2" && password=="password2") { window.location="page2.html"; done=1; }
if (username=="member3" && password=="password3") { window.location="page3.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}
// End -->
</SCRIPT>

Link List
<FORM NAME="Menu">


<SELECT size=10 name="URL"
                    onChange="if(options[selectedIndex].value)
                    window.location.href=
                    (options[selectedIndex].value)">

<Option Value="http://www.yahoo.com">Yahoo
<Option Value="http://www.excite.com">Excite
<CENTER>

  </SELECT>

<br>

<br>
<NOSCRIPT>
<INPUT type=submit value="Go">
</NOSCRIPT>
</FORM>

Pop Up
Pops up a new window when a link is selected.

,resizable=yes";

var URL = form.site.options[form.site.selectedIndex].value;
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
</script>

URL and Go
Type in a URL and go to it. Kind of like a navigation box.
<FORM>
Type in a URL, and hit the Go! button to go there!
<BR>
<INPUT name="the_url" type="text" value="http://"  size="25">
 
<INPUT type="button" value="Go!" onClick="window.location=this.form.the_url.value">
</FORM>

Under Age Redirection

Asks for your age and if you are under 18 you are redirected to www.crayola.com

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function getName() {
var name1 = prompt("What is your name?", "")
var age = prompt("How old are you?", "")
if( age <= 18) {
alert("Hey kid...  You're only " + age + " and expect to stay here!!  No way!  " + name1 + ", get out of here!  If you are at " + email1 + " , then I have your e-mail too!!")
window.open("http://www.crayola.com")
} else {
alert("Hello " + name1 + "!  Welcome to The JavaScript Source!  Since you are " + age + ", you are allowed to stay!! ")
   }
}
// End -->
</SCRIPT>

Back And Foward
Back and foward buttons like the ones on your browser

<CENTER>
<FORM>
<INPUT TYPE="button" VALUE="  BACK  " onClick="history.go(-1)">
<INPUT TYPE="button" VALUE="FORWARD" onCLick="history.go(1)">
</FORM>
</CENTER>

Moving Menu
<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
function setVariables() {
if (navigator.appName == "Netscape") {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else {
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
   }
}
function checkLocation() {
object="object1";
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}
//  End -->
</script>

Classic Scroll
It's the classic status message scroller. It is a simple javascript but can get annoying after a while


<SCRIPT LANGUAGE="JavaScript">

<!-- This script is available at http://www.angelfire.com/vt/javascripts--!>

<!-- Begin
function scrollit(seed) {
var m1  = "Put Whatever you want here  ";
var m2  = "..... Yes, anything you want!  ";
var msg=m1+m2+m3+m4;
var out = " ";
var c   = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
      }
   }
}
// End -->
</SCRIPT>

Time and Date
Great script that scrolls the time and date in the status bar.
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var osd = "   "
osd +="Great Script Don't You Think? ";
osd +="          ";
var timer;
var msg = "";
function scrollMaster () {
msg = customDateSpring(new Date())
clearTimeout(timer)
msg += " " + showtime() + " " + osd
for (var i= 0; i < 100; i++){
msg = " " + msg;
}
scrollMe()
}
function scrollMe(){
window.status = msg;
msg = msg.substring(1, msg.length) + msg.substring(0,1);
timer = setTimeout("scrollMe()", 200);
}
function showtime (){
var now = new Date();
var hours= now.getHours();
var minutes= now.getMinutes();
var seconds= now.getSeconds();
var months= now.getMonth();
var dates= now.getDate();
var years= now.getYear();
var timeValue = ""
timeValue += ((months >9) ? "" : " ")
timeValue += ((dates >9) ? "" : " ")
timeValue = ( months +1)
timeValue +="/"+ dates
timeValue +="/"+  years
var ap="A.M."
if (hours == 12) {
ap = "P.M."
}
if (hours == 0) {
hours = 12
}
if(hours >= 13){
hours -= 12;
ap="P.M."
}
var timeValue2 = " " + hours
timeValue2 += ((minutes < 10) ? ":0":":") + minutes + " " + ap
return timeValue2;
}
function MakeArray(n) {
this.length = n
return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Janurary"
monthNames[2] = "February"
monthNames[3] = "March"
monthNames[4] = "April"
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "August"
monthNames[9] = "Sept."
monthNames[10] = "Oct."
monthNames[11] = "Nov."
monthNames[12] = "Dec."
daysNames = new MakeArray(7)
daysNames[1] = "Sunday"
daysNames[2] = "Monday"
daysNames[3] = "Tuesday"
daysNames[4] = "Wednesday"
daysNames[5] = "Thursday"
daysNames[6] = "Friday"
daysNames[7] = "Saturday"
function customDateSpring(oneDate) {
var theDay = daysNames[oneDate.getDay() +1]
var theDate =oneDate.getDate()
var theMonth = monthNames[oneDate.getMonth() +1]
var dayth="th"
if ((theDate == 1) || (theDate == 21) || (theDate == 31)) {
dayth="st";
}
if ((theDate == 2) || (theDate ==22)) {
dayth="nd";
}
if ((theDate== 3) || (theDate  == 23)) {
dayth="rd";
}
return theDay + ", " + theMonth + " " + theDate + dayth + ","
}
scrollMaster();
// End -->
</SCRIPT>

Flash
Flashes a message in the status bar.

Copy this in the <Body> tag of your HTML.

onload="flash();"

Copy this in between the <Head> and </Head> tag of your HTML.

<script language="JavaScript">
<!--
/* MjM'S JAVA CODENAME = FLASH
   This JavaScript Code was written by MjM for Hyperchat UK
   I am not responsible for any damage caused by my code.
   This code can be modified as long as the Author's Name is still attached.
   Email : [email protected]
   © Copyright 1996
*/
var yourwords = "Thank you for visiting my site!";
var speed = 150;
var control = 1;
function flash()
{
  if (control == 1)
    {
      window.status=yourwords;
      control=0;
    } 
  else
    {
      window.status="";
      control=1;
    }
  setTimeout("flash();",speed);
}
// -->
</script>

Type Writer Scroll
Neat script that types your message one letter after another in the staus bar. Can get very annoying though.

Look in the status bar for a preview.
Copy this in between the <Head> and </Head> of your HTML.

<SCRIPT LANGUAGE="JavaScript">

<!-- Available at http://www.angelfire.com/vt/javascripts -->

<!-- Begin
var Message="Cool isn't it, I sure think so!!";
var place=1;
function scrollIn() {
window.status=Message.substring(0, place);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollOut()",300);
} else {
place++;
window.setTimeout("scrollIn()",50);
   }
}
function scrollOut() {
window.status=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollIn()", 100);
} else {
place++;
window.setTimeout("scrollOut()", 50);
   }
}
// End -->
</SCRIPT>

Copy this in the <Body> tag of your HTML

<BODY onLoad="scrollIn()">

Visit Counter
Counts how many times a visitor has been to your page and writes it out.

<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
function GetCookie (name) { 
var arg = name + "="; 
var alen = arg.length; 
var clen = document.cookie.length; 
var i = 0; 
while (i < clen) {
var j = i + alen;   
if (document.cookie.substring(i, j) == arg)     
return getCookieVal (j);   
i = document.cookie.indexOf(" ", i) + 1;   
if (i == 0) break;  

return null;
}
function SetCookie (name, value) { 
var argv = SetCookie.arguments; 
var argc = SetCookie.arguments.length; 
var expires = (argc > 2) ? argv[2] : null; 
var path = (argc > 3) ? argv[3] : null; 
var domain = (argc > 4) ? argv[4] : null; 
var secure = (argc > 5) ? argv[5] : false; 
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) + 
((domain == null) ? "" : ("; domain=" + domain)) +   
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) { 
var exp = new Date(); 
exp.setTime (exp.getTime() - 1);  
var cval = GetCookie (name); 
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function amt(){
var count = GetCookie('count')
if(count == null) {
SetCookie('count','1')
return 1
}
else {
var newcount = parseInt(count) + 1;
DeleteCookie('count')
SetCookie('count',newcount,exp)
return count
   }
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
// End -->
</SCRIPT>

Name and Visits
Asks your visitor for thier name and writes it down everytime they visit and also records their visits.

<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Mattias Sjoberg -->


<!-- Begin
var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
function Who(info){
var VisitorName = GetCookie('VisitorName')
if (VisitorName == null) {
VisitorName = prompt("Who are you?");
SetCookie ('VisitorName', VisitorName, exp);
}
return VisitorName;
}
function When(info){
var rightNow = new Date()
var WWHTime = 0;
WWHTime = GetCookie('WWhenH')
WWHTime = WWHTime * 1
var lastHereFormatting = new Date(WWHTime);
var intLastVisit = (lastHereFormatting.getYear() * 10000)+(lastHereFormatting.getMonth() * 100) + lastHereFormatting.getDate()
var lastHereInDateFormat = "" + lastHereFormatting;
var dayOfWeek = lastHereInDateFormat.substring(0,3)
var dateMonth = lastHereInDateFormat.substring(4,11)
var timeOfDay = lastHereInDateFormat.substring(11,16)
var year = lastHereInDateFormat.substring(23,25)
var WWHText = dayOfWeek + ", " + dateMonth + " at " + timeOfDay
SetCookie ("WWhenH", rightNow.getTime(), exp)
return WWHText
}
function Count(info){
var WWHCount = GetCookie('WWHCount')
if (WWHCount == null) {
WWHCount = 0;
}
else{
WWHCount++;
}
SetCookie ('WWHCount', WWHCount, exp);
return WWHCount;
}
function set(){
VisitorName = prompt("Who are you?");
SetCookie ('VisitorName', VisitorName, exp);
SetCookie ('WWHCount', 0, exp);
SetCookie ('WWhenH', 0, exp);
}
function getCookieVal (offset) { 
var endstr = document.cookie.indexOf (";", offset); 
if (endstr == -1)   
endstr = document.cookie.length; 
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) { 
var arg = name + "="; 
var alen = arg.length; 
var clen = document.cookie.length; 
var i = 0; 
while (i < clen) {   
var j = i + alen;   
if (document.cookie.substring(i, j) == arg)     
return getCookieVal (j);   
i = document.cookie.indexOf(" ", i) + 1;   
if (i == 0) break;  

return null;
}
function SetCookie (name, value) { 
var argv = SetCookie.arguments; 
var argc = SetCookie.arguments.length; 
var expires = (argc > 2) ? argv[2] : null; 
var path = (argc > 3) ? argv[3] : null; 
var domain = (argc > 4) ? argv[4] : null; 
var secure = (argc > 5) ? argv[5] : false; 
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) + 
((domain == null) ? "" : ("; domain=" + domain)) +   
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) { 
var exp = new Date(); 
exp.setTime (exp.getTime() - 1); 
var cval = GetCookie (name); 
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
//  End -->
</SCRIPT>

Date
Writes the current date on your web page. Very professional looking.

<SCRIPT LANGUAGE="JavaScript">

<!-- Available at http://www.angelfire.com/pe/javascripts -->

<!-- Begin
var months=new Array(13);
months[1]="January";
months[2]="February";
months[3]="March";
months[4]="April";
months[5]="May";
months[6]="June";
months[7]="July";
months[8]="August";
months[9]="September";
months[10]="October";
months[11]="November";
months[12]="December";
var time=new Date();
var lmonth=months[time.getMonth() + 1];
var date=time.getDate();
var year=time.getYear();

// Y2K Fix by Isaac Powell
// http://onyx.idbsu.edu/~ipowell

if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000))
year="19" + year;
if (navigator.appName == "Netscape")
year=1900 + year;
document.write("<center>" + lmonth + " ");
document.write(date + ", " + year + "</center>");
// End -->
</SCRIPT>
</CENTER>

Numerical Date
Writes the current date on your web page. Writes in the form of 3/25/2000.
<script>

var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
document.write("<small><font color='000000' face='Arial'><b>"+month+"/"+daym+"/"+year+"</B></font></small>")


</script>

Live Clock
<form name="Tick">
<input type="text" size="11" name="Clock">
</form>
<body onLoad="show2()">
<span id=tick2>
</span>

<script>
<!--
/*By George Chiang (WA's JavaScript tutorial)
http://wsabstract.com
Credit MUST stay intact for use*/
function show2(){
if (!document.all)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="AM"
if (hours>12){
dn="PM"
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
var ctime=hours+":"+minutes+":"+seconds+" "+dn
tick2.innerHTML="<b style='font-size:16;color:black;'>"+ctime+"</b>"
setTimeout("show2()",1000)
}
//-->
</script>

Count Down
Counts down to an event.
   
<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Alan Palmer -->
<!-- Web Site:  http://www.jsr.communitech.net -->



<!-- Begin
var date = new Date("January 1, 2003");
var description = "the year 2003";
var now = new Date();
var diff = date.getTime() - now.getTime();
var days = Math.floor(diff / (1000 * 60 * 60 * 24));
document.write("<center><h3>")
if (days > 1) {
document.write(days+1 + " 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("</h3></center>");
// End -->
</script>

Button Clock
Writes the current on your web page in a button.

<SCRIPT LANGUAGE="JavaScript">

<!-- Original: Michael Tartaglia <[email protected]> -->
<!-- Web Site:  http://www.geocities.com/SiliconValley/Horizon/5235 -->

<!-- Begin
day = new Date();
miVisit = day.getTime();
function clock() {
dayTwo = new Date();
hrNow = dayTwo.getHours();
mnNow = dayTwo.getMinutes();
scNow = dayTwo.getSeconds();
miNow = dayTwo.getTime();
if (hrNow == 0) {
hour = 12;
ap = " AM";
} else if(hrNow <= 11) {<

- back -

1
Hosted by www.Geocities.ws