CD-246 Part (Web site) VI . Appendixes Example Listing 15-44
Monday, October 22nd, 2007CD-246 Part VI . Appendixes Example Listing 15-44 uses the U.S. Pledge of Allegiance with four links to demonstrate how to use the onMouseOver and onMouseOut event handlers. Notice that for each link, the handler runs a general-purpose function that sets the window s status message. The function returns a true value, which the event handler call evaluates to replicate the required return true statement needed for setting the status bar. In one status message, I supply a URL in parentheses to let you evaluate how helpful you think it is for users. Listing 15-44: Using onMouseOver and onMouseOut Event Handlers
onMouseOver and onMouseOut Event Handlers
Pledge of Allegiance
I pledge allegiance to the flag of the United States of America, and to the Republic for which it stands, one nation under God, indivisible, with liberty and justice for all. elementObject.onMouseOut
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision J2ee Web Hosting services.