Simple Display Graphic on Mouse Over - Front Page 2003

K

K-Mac

Can anyone tell me how to do a simple mouse over effect? All I want is to
display a picture when the cursor moves over text. It seems like it should
be simple, but I haven't found the right documentation !!

Thanks,

K-Mac
 
S

Steve Easton

Display the picture where??
In place of the text?
On another location in the page??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
T

Trevor L.

Steve said:
Display the picture where??
In place of the text?
On another location in the page??

Yes, Steve. I wondered that also

However, I guess this code will do it ("it" being the latter)
<html>
<head></head>
<body>
<p>
<a href="#" onmouseover="document.myImage.src='image1.jpg'"
onmouseout ="document.myImage.src='image2.jpg'">
Mouseover ME
<img src="image1.jpg" name="myImage">
</a>
</p>
</body>
</html>

To put it in place of text, I suppose image1 would have to be a jpeg
containing text.
Or is there another way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top