Hot!Ajax

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Gsearch

Google
Home arrow jQuery arrow Semitransparent rollovers made easy with JQuery
Semitransparent rollovers made easy with JQuery
User Rating: / 0
PoorBest 
Wednesday, 07 November 2007

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”.

Comments (0)add comment

Write comment

busy
 
< Prev   Next >