PDA

View Full Version : JQuery..Help !


hummer2001
03-26-2009, 02:00 PM
Hi guys,

I came across a great jquery example for image tooltips here

http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery

(Example 2)

Ive incorporated it into my site, but I want to be able to click the image to go to a different url, not a page with the pic itself. The code currently reads like this:

<a href="1.jpg" class="preview"><img src="../../Design/jqueryfiles/tooltip/02/1s.jpg" alt="bh" width="100" height="75" /></a>

1.jpg is the preview image which pops up when the thumb is hovered over and with the current setup needs to be within the href tag.

Any advise would be really appreciated. Thanks.

domedia
03-26-2009, 04:51 PM
Hi guys,

I came across a great jquery example for image tooltips here

http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery
Look at the last example on that page.

hummer2001
03-27-2009, 09:36 AM
Thanks, cant believe i didnt look there.

domedia
03-27-2009, 03:43 PM
Thanks, cant believe i didnt look there.

We've all done it 8)