JavaScript

Home     Previous     Next

Status Bar Message Rollovers continued

Message that appears when mouse is moved over button or link, and goes when mouse is moved away

To create a message that appears when you place your cursor over the toolbar buttons and the text links, but disappears when you move your mouse away, add a JavaScript onLoad event handler in the BODY tag, which sets the default status-bar message as ' ' (i.e., an empty string) e.g.

<BODY BGCOLOR="#009999" onLoad="window.defaultStatus=''">

Image of home button     Home Base

Message that appears when page is loaded, and when mouse is moved away from button or link

Set the JavaScript onLoad event handler in the BODY tag to include the message required  e.g.

<BODY BGCOLOR="#009999" onLoad="window.defaultStatus='Sue'">

 I have done this on the Home page.

Image of Day One button (i.e. current day) Image of Day Two button Image of Day Three button Image of Day Four button Image of Day Five button Image of Day Six button

Back to top     Previous     Home    

© 2002. Copyright Sue Nethercott.