Web Teacher Software
web database
Javacript 
Tutorial
CGI tutorial
web 
database consulting
web database training
contact us about web 
database software
press
Hosted Database Solutions
webteacher home
Web Teacher Consulting

javascript tutorial graphic


Webteacher Software now offers

onLoad Events

Upon loading this page, a window appeared with a welcome message in it. The window stayed for 5 seconds, then closed. If you want to see it again, click RELOAD

The onLoad event is placed in the <BODY> tag, and it is used to trigger events automatically upon loading the page. You can use the onLoad to display a welcome message, place the focus in a particular textbox, execute a special effect, o r prompt for a password. The <BODY> tag of this page looks like this:

<BODY bgcolor="white" onLoad="MsgBox()">

MsgBox() is a function in the <SCRIPT> area which opens a window, then closes it after 5 seconds. We will discuss the setTimeout() method used to close the window automatically in more detail later.

How about onUnload events?

Show me Automatic Timers


Home | WebData - Web Database Software | Javascript | CGI | Consulting | Map Builder | Contact Us | The Press Room