Swap Image/Mouse Over in Front Page 2003

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top