Search This Blog

Friday, April 16, 2010

image tool tip

Image w/ description tooltip

Move the mouse over a link and have the image of your choice plus corresponding description pop up, by using this image tooltip script. Each tooltip can have a different background color, just for aesthetics or in case the images are transparent gifs.

The code detects for window edges and keeps the tooltip inside. The tooltip moving with the mousemove is an option that can be turned off by setting the tipFollowMouse to false.

No comments:

Post a Comment

content-wide advt