PDA

View Full Version : Tooltip mouse over



gorane
12-12-2011, 01:07 PM
1) Script Title:Image w/description tooltip v2.0

2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm

3) Describe problem: Can I instead of the text Link 1,2 ,3 and 4 insert thumbnail-pictures ??

ddadmin
12-12-2011, 03:16 PM
Certainly, just add an image tag inside the original text link's A element:


<a href="http://www.dynamicdrive.com" rel="imgtip[0]"><img src="test.gif" style="width:100px; height:150px" /></a>

Your image should contain explicit width/height attributes to insure the script correctly calculates the image's boundaries.