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?
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?
You could just enter the HTML you wish to show (ie: image HTML) within the tooltip function:
Code:<a href="http://yahoo.com" onMouseover="ddrivetip('Yahoo\'s Site <img src="yahoo.gif" />', 'yellow', 250)"; onMouseout="hideddrivetip()">Yahoo</a>
Its not working for me.. am i missing something?
Code:<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
Last edited by Jon101; 01-15-2008 at 05:18 PM.
Any one???
Sorry to bump but this is urgent.
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:
I just tested this out, and it works.Code:<a href="http://yahoo.com" onMouseover="ddrivetip('Yahoo\'s Site <img src=\'yahoo.gif\' />', 'yellow', 250)"; onMouseout="hideddrivetip()">Yahoo</a>
Let me try it out..
Last edited by Jon101; 01-16-2008 at 02:58 PM.
Works great!! Thanks!
One more thing... would i be able to change the font within it?
Bookmarks