"Better to remain silent and be thought a fool than to speak out and remove all doubt." - Abraham Lincoln quote provided by QuotesDaddy.com

Posts Tagged ‘javascript’

Fading PNGs in Internet Explorer 7 and 8

One issue I recently came across was the desire to use PNGs as the background of a tooltip, and to fade the tooltip in and out of view (you can see the functionality here by hovering over 'details' or clicking on 'buy now'). In case you haven't tried this before - IE7 and IE8 generally do not react well to fading PNGs, putting a black background under the portions of the PNG which have alpha transparency - and generally making the element look less than ideal. Luckily, there is a fairly easy workaround for this situation as long as you are not trying to do too much with the pngs. It will even fix pngs in IE6 for you too (in fact, that is the real purpose of the script). That workaround is the jQuery ifixpng2 plugin, written by ...

jQuery Plugin: Omnitip

I ended up developing the omnitip jquery plugin because I needed something a little more robust than any of the other jquery based tooltips that I was able to find. There may or may not have been one that would have met my needs and I just didn't see it, but regardless I believe I benefited from the experience of building a jquery plugin, and hopefully you will benefit as well.

About Omnitip

Omnitip is a tooltip plugin (you can see it at work on the homepage). What I THINK I have added to other tooltips in terms of functionality is:

  1. The ability to maintain the tooltip while hovering over it - thereby allowing things like links and forms to be loaded inside the tip
  2. Ability to send included forms through ajax components and lo...