©ilj@flowsim.se JavaScript code samples 2 JavaScript alert - onClick, onMouseOver, onMouseOut >>> this example in Swedish >>> this example in French ![]() click here for a JavaScript alert ! ![]() code and explanations further down ![]() ![]() ![]() |
The alert function looks like this alert('text') 1 JAVASCRIPT ALERT - ONCLICK - an alert is shown when you click a link <A HREF ="URL" ![]() ![]() Quotation marks like this ONCLICK="alert('Hi there!')" or like this ONCLICK='alert("Hi there!")' ![]() 2 JAVASCRIPT ALERT - ONMOUSEOVER - an alert is shown when the mouse pointer moves over a link <A HREF ="mailto:yournamn@youraddress" ![]() ![]() The line that opens the JavaScript alert looks like this onMouseOver="alert('Hi there!')" ![]() 3 JAVASCRIPT ALERT - ONMOUSEOUT - an alert is displayed when the mouse pointer leaves the link <A HREF ="mailto:yournamn@youraddress" ![]() ![]() ![]() FAQ
OTHER JAVASCRiPT EXAMPLES ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Page by ![]() ilj@flowsim.se ![]() Last modified: August 15, 1998. This page should be part of a frames system at: http://www.flowsim.se JAVASCRiPT |