paulp75
asked on
mousover text to create an alt like image
what i'd like to have is when i mouse over a text link, then it will show an image in a similar way to what an alt take does with an image.
basically reverse the roles.
mouse over text, image pops up where mouse is. mouse out, image disappears.
can someone help me with this.
thanks
basically reverse the roles.
mouse over text, image pops up where mouse is. mouse out, image disappears.
can someone help me with this.
thanks
Sorry, misread. Maybe it's something like this you're looking for.
<a href="#" onclick="return false" onmouseover="document.getE lementById ('yourImag e').style. display='i nline'" onmouseout="document.getEl ementById( 'yourImage ').style.d isplay='no ne">LInk</ a><br>
<img id="yourImage" src="image.gif" style="display:none">
<a href="#" onclick="return false" onmouseover="document.getE
<img id="yourImage" src="image.gif" style="display:none">
ASKER
its very close.
but i'd like it to be able to not have an effect on the text.
so that i would be able to have many listings.
and when i mouse over the listing it will just pop out the image like an "alt" tag does on a image.
also the mouse out wasnt working
but i'd like it to be able to not have an effect on the text.
so that i would be able to have many listings.
and when i mouse over the listing it will just pop out the image like an "alt" tag does on a image.
also the mouse out wasnt working
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
brilliant.
thanks very much.
thanks very much.
Glad I could help!
Thanks for the "A"
Batalf
Thanks for the "A"
Batalf
<a href="whatever.html" title="MOuseover text">Link</a>