This is what you saw when you came in. It's done with this in the head tags:
<SCRIPT LANGUAGE="JavaScript"> function entryAlert() { alert("Your warning goes here"); return " "; } And this inside the body tag, like this:
<BODY onLoad = 'entryAlert();'>
Alert message with confirm
This script puts an alert message with a confirm button. If the user accepts, they're sent to the page, if they don't, they go back to the referring page. It's done by putting this in the head tags:
<SCRIPT LANGUAGE="JavaScript"> function entryConfirm() { if (!confirm ("This site takes about 3 minutes to load. Do you want to continue loading it?")) history.go(-1); }
and then adding this to the body tag, like this:<BODY onload = 'entryConfirm();'>Alert message when mouse moves off a link
This script pops up a message when the mouse moves off of a link, like this:
Don't move! To do this, add this code after the <A href="blahblah"> in your links:
onMouseOut='alert("Your message here")'Alert when mouse moves over
This pops up an alert message when the mouse moves over a link, like this:
Don't touch me! Unfortuanately, you can only use one messages, since you need to put this in the head tags:
<SCRIPT LANGUAGE="JavaScript"> function AlertText() { alert("Your message here"); } </SCRIPT>Then you add this to your links after the <A href="blahblah">:
onMouseOver="AlertText();"Mail me at tkeer@cvn.net.
![]()