| Semitransparent rollovers made easy with JQuery |
|
|
|
| Written by LXR | |||
| Wednesday, 07 November 2007 03:41 | |||
Background has a gradient effect, so you can see that the glowing borders flow smoothly on rollover. Try that with a gif! Place Your Text Here from:coderseye.comdemo:http://www.hotajax.org/download/jquery/pngrollover/index.htmldownload:http://www.hotajax.org/download/jquery/pngrollover.zipSemitransparent rollovers made easy with JQuery How to use my solution: Make your images and rollovers. Put them in the same directory, and make sure to name the rollover images with an “_on.png” suffix. For example, if your main image is “btn_home.png”, your rollover image should be named “btn_home_on.png”. Markup your image tags with IDs that match the stem of the button name. For example, if your button is named “btn_home.png”, then the id should be “home”. Note that you need the height and width for the images, as pngfix requires that information. Then, wrap those images in a list tage, all surrounded with an element of class “nav”.
Set as favorite
Bookmark
Email This
Hits: 3342 Comments (0)
![]() Write comment
Newer news items:
Older news items:
|




