• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Adding Dynamic HTML > Mouseovers: Changing Things Without Clicks

Mouseovers: Changing Things Without Clicks

One of the more popular uses of DHTML is to create mouseover scripts that enable you to change either an image or a text property when you place the mouse pointer over it. These scripts are actually fairly easy to create, with the JavaScript and CSS knowledge you already have.

Although CSS-based mouseovers (using the pseudo-classes such as a.hover) work in Netscape 4, these DOM-based mouseovers work only in Internet Explorer 4 and above, and in Netscape 6 and above. If you use the mouseovers to communicate important information, you may need to offer another page for users of earlier browsers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint