Skip to content

Unobtrusive javascript image hover states with Prototype or jQuery.

Notifications You must be signed in to change notification settings

scotje/will_hover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Are you tired of writing onmouseover= and onmouseout= for hover states?

How to use: Include Prototype or jQuery and this file. Add "will_hover" 
class to any IMG tag that you want to have a hover state. Name hover state 
graphics with "-hover" at the end of the file name. Like "about.png" and 
"about-hover.png".

New bonus feature! Add "will_hover_bg" class to any element with a CSS
background image that you want to have a hover state. Name the graphics
following the convention shown above.

Created By: Jesse C Scott (jesse.c.scott AT gmail.com)
Released into the public domain, no copyright is claimed on this work.

About

Unobtrusive javascript image hover states with Prototype or jQuery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published