|
Script Introduction
A script that will bring up multiple alerts when someone enters your Web page.
It is set up for three alerts.
Cut and Paste Code: HEAD Section
This code should be placed between the <head> and </head> tags.
Installation Instructions
-
Paste the HEAD Section code from above between the <head> and </head> tags on your page.
-
Find the matching lines below in the script and change the text in red to
the text you wish to use:
window.alert('Welcome to My Web Site!');
window.alert('Remeber to sign the guestbook!');
window.alert('Are you annoyed yet? Muahahaha!');
-
Check the Format Window
to be sure you do not have one single line of code, or too many line breaks in the code.
Example
A working sample of the script is shown below.
Click the link to open a new page and test the script.
Example Link
|