JavaScript Source Code 3000: Messages: Alert
Alert
If you're just looking for a quick way to tell your visitor something, use this JavaScript alert! When they put their cursor on the link, they get the message in the form of a JavaScript alert!
JavaScript Source Code 3000: Messages: Alert
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!
<!-- TWO STEPS TO INSTALL ALERT:
1. Paste the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<! >
<! >
<!-- Begin
function drawAlert () {
alert ("This is an alert message that can say whatever you want!");
}
// End -->
</SCRIPT>
<!-- STEP TWO: Put this code into the BODY of your HTML document -->
<BODY>
<CENTER>
<FORM>
<input type=button value="JavaScript Alert! Click Here!" onClick="drawAlert()">
</FORM>
</CENTER>
<!-- Script Size: 0.78 KB -->
Wyszukiwarka
Podobne podstrony:
alert buttonalertAlert Solo 250 EWalertQQE Alert v1 Instructionsn v lv alertAdult Alert 002val no alertname alertoption focus alerttop alertwięcej podobnych podstron