Table of Contents
    Home / Definitions / Mouseover

    A JavaScript element that triggers a change on an item (typically a graphic change, such as making an image or hyperlink appear ) in a Web page when the pointer passes over it. The change usually signifies that the item is a link to related or additional information. Mouseovers are widely used in Navigation Bars, pop-up windows, and/or form submissions.

    Mouseovers require JavaScript in two places of an HTML document. At the beginning of your document and before the BODY tag, JavaScript defines the event to take place. After the BODY tag, HTML code contains the actual mouseover element in the place on your Web page you want the action to take place. When your mouse passes over the HTML code containing the mouseover element, it signals the JavaScript eventto take place.