Forum Moderators: open
My intention is to use the wz_tooltip within an image map which contains the code:
<script src="JavascriptFiles/wz_tooltip.js" type="text/javascript"></script>
<area shape="circle" coords="513,411, 40" href="javascript:window.open('goma_3.htm','imgswapper3'); void(0)";" alt="" />
This opens 'goma_3.htm in iframe 'imgswapper3' which works perfect.
Now I want to integrate a tooltip in the same line of code:
onmouseover="Tip('TOOLTIP TEXT')" onmouseout="UnTip()"
I tried to put it like that (which doesn't work at all):
<area shape="circle" coords="513,411, 40" href="javascript:window.open('goma_3.htm','imgswapper3'); void(0)";" alt="" onmouseover="Tip('TOOLTIP TEXT')" onmouseout="UnTip()" />
Any ideas what could be wrong?
I took out the quote and it still wouldn't work. Then I was looking for a missing link. The error was created because the link to the wz_tooltip was wrong. The actual image sits within an iframe and therefore the link to the root of the document was wrong, fixed it with ../../wz_tooltip.js and all is running as it should.