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.com
demo:http://www.hotajax.org/download/jquery/pngrollover/index.html
download:http://www.hotajax.org/download/jquery/pngrollover.zip
Semitransparent rollovers made easy with JQuery
This article shows a simple method for enabling semi-transparent rollovers which actually work on IE 6. Yes, you could use a .gif file for a crude version, but many effects, especially “glowing” effects just look much better if you use a format which supports alpha channel transparency.
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”.

| < Prev | Next > |
|---|
- 17/12/2007 22:16 - jQzoom:jQuery Plugin
- 05/12/2007 19:43 - Animated InnerFade with JQuery
- 30/11/2007 20:39 - jRails - jQuery on Rails
- 28/11/2007 22:59 - jQuery Multimedia Portfolio
- 10/11/2007 22:11 - jquery biggerlink
- 03/11/2007 19:13 - Confirm inplace( jQuery)
- 03/11/2007 07:25 - jQuery lightbox plugin
- 24/10/2007 03:35 - 链接检查器(jquery)
- 09/10/2007 22:39 - magicpuff(jquery plugin)
- 21/09/2007 09:53 - 图片加载延迟(jquery应用)







