It's really neat to welcome your visitors and especially cool to say goodbye! This script will use JavaScript to greet and 'see out' your visitors.
JavaScript Source Code 3000: Misc.: Load Alerts Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s). The script is yours!
<!-- ONE STEP TO INSTALL ONLOAD / ONUNLOAD ALERTS:
1. Copy the onLoad event handler into the BODY tag -->
<!-- STEP ONE: Add this onLoad event handler into the BODY tag -->
<BODY onLoad="alert('Welcome to The Javascript Source! Full of examples, tutorials, scripts, and links! All for FREE!! Check it out!');" onUnLoad="confirm('Are you sure you want to leave this page?');">