I don't know how to use the onmouseover event the text , then display the image.
For example, I have a <p onmousever="">CHECK</p>, then when I move the mouse over the text, the image will display.
Please help me!
thebluestar
0
Junior Poster in Training
Recommended Answers
Jump to PostIt really requires little work:
<script type="text/javascript"> function show(Id) { document.getElementById(Id).style.display="inline"; } </script> <span onmouseover="show('myImage')">Hover here to see the image!!!</span> <img src="someImage.jpg" id="myImage" border="0" style="display:none;" />
~G
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.