Swap Image/Mouse Over in Front Page 2003

G

Guest

I need direction in how do do a simple mouse over in Front Page 2003 / ASP
code. All I want is a picture to display when the mouse moves over test.

Thanks.
 
T

Trevor L.

K-Mac said:
I need direction in how do do a simple mouse over in Front Page 2003
/ ASP code. All I want is a picture to display when the mouse moves
over test.

Thanks.

I assume you mean "text" not "test"

Try pasting this into Code or HTML view
<a href="#" onmouseover="document.myImage.src='carole.jpg'"
onmouseout ="document.myImage.src='trevor.jpg'">
Mouseover ME
<img src="" name="myImage" />
</a>

The first time the image will appear as a box with a red X. If you don't
like this, put some image in it
E.G.
<a href="#" onmouseover="document.myImage.src='carole.jpg'"
onmouseout ="document.myImage.src='trevor.jpg'">
Mouseover Me
<img src="blank.jpg" name="myImage" />
</a>

Actually this does more than you ask - it swaps two images.
 

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

Similar Threads


Top