Alerts
This tutorial will teach you the basics of javascript alerts and how usefull they really can be.
The basic command for a javascript alert is:
Code
alert('your choice of text')
Say you wanted and alert to pop-up when someone click's a link? Well easily done just use the following code:
Code
<A HREF="alert('Alert!')">Alert!</A>
You can spice up the links about by adding some conditions do it, the following code will make the alert pop-up on a mouseover:
Code
<A HREF="noplace" onMouseover="alert('Alert!')">Alert!</A>
So there you have it, the basics of the alert command in javascript this can be used in many usefull ways and can be a site greeter.
Craig.