DHTML Behaviors Library : ImageRollover Behavior

Description: The imageRollover behavior provides a script-free method for web page authors to add rollover effects to images. It also adds limited button-like behavior by allowing the author to specify a replacement image in response to user click. The images used in this behavior will be downloaded and cached after the page loads, or sooner if they are needed in response to a user action. All methods and events are provided by the familiar events normally provided by an image.

Browser/Platform Compatibility
This sample is supported in Internet Explorer 5, on Win32 and Unix platforms. Any browser that doesn't support behaviors will show the default image.

Complete Article

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish