View Full Version : Quick tooltip help
Jon101
01-09-2008, 06:46 PM
1) Script Title: FF1+ IE5+ Opr7+ Cool DHTML Tooltip
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex5/dhtmltooltip.htm
3) Describe problem: how would i add an image into the popup?
ddadmin
01-10-2008, 06:42 AM
You could just enter the HTML you wish to show (ie: image HTML) within the tooltip function:
<a href="http://yahoo.com" onMouseover="ddrivetip('Yahoo\'s Site <img src="yahoo.gif" />', 'yellow', 250)";
onMouseout="hideddrivetip()">Yahoo</a>
Jon101
01-15-2008, 03:15 PM
Its not working for me.. am i missing something?
<area shape="circle" coords="261,272,12" href="/chsaa/holytrinity.php" onMouseover="ddrivetip('Holy Trinity <img src="images/LIHTMAP.jpg"/>','#DFDFFF', 300)";
onMouseout="hideddrivetip()"/>
any ideas??
Thanks,
Jon
Jon101
01-15-2008, 05:30 PM
Any one???
Sorry to bump but this is urgent.
ddadmin
01-16-2008, 03:50 AM
Ah, try using single quotes instead of double quotes inside your HTML content as they occur, backslashed (\'). So instead of my original code, use this instead:
<a href="http://yahoo.com" onMouseover="ddrivetip('Yahoo\'s Site <img src=\'yahoo.gif\' />', 'yellow', 250)";
onMouseout="hideddrivetip()">Yahoo</a>
I just tested this out, and it works.
Jon101
01-16-2008, 02:53 PM
Let me try it out..
Jon101
01-16-2008, 03:20 PM
Works great!! Thanks!
One more thing... would i be able to change the font within it?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.