Avatar of walker6o9
walker6o9
 asked on

onmouseover image pop up

I'm already using the onmouseover  function in html/javascript to make a textbox pop up (using the wz_tooltip.js)  but I was wondering if it is also possible to make an image pop up and fix the position of that image to wherever I want onmouseover, and to make it go away on onmouseout?

My current onmouseover code:

<li class="simplerr"> <a href="article_01_1.html" onmouseover="Tip(txt2)" onmouseout="UnTip()"  class="simple_link_selected" id="two"> <span class="area_c">01</span> <span class="area_a"> MOVING FORWARD </span></a> </li>
   
Web Languages and StandardsJavaScriptHTML

Avatar of undefined
Last Comment
Lolly-Ink

8/22/2022 - Mon
Cem Türk

ASKER CERTIFIED SOLUTION
scrathcyboy

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Lolly-Ink

The solution below (using TagToTip) is slightly modified from the example I gave to your previous question (JavaScript tooltip show image).
<html>
<body>
   <script type="text/javascript" src="wz_tooltip.js"></script>
   <a href="index.html" onmouseover="Tip('this is a nice tip', BGIMG, 'Help.png')">test tip 1</a>
   <span id="spanTip"><img src="Help.png">&nbsp;</span>
   <a href="index.html" onmouseover="TagToTip('spanTip', BGCOLOR, 'none', BORDERWIDTH, 0)">test tip 2</a>
</body>
</html>

Open in new window

Help.png
Lolly-Ink

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_23574091.html
.. was your previous question. Sorry. EE Rich Text links aren't working properly.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck