Image appear on mouse roll over

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to make an image appear when the mouse rolls over certain text
in your webpage? I am using Frontpage 2003.
 
Yes. Google "JavaScript onmouseover"

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
I did what you suggested and found lots of onmouseover script to swap images
and to set text on the status bar but nothing exactly like I was looking for.
Does anyone know the exact script I need?

I have a line of text with a person's name in it. When the mouse scrolls
over the name I would like a picture of that person to pop up and then
disappear when the mouse leaves the name.
 
Try this code

<a href="#"
onMouseover="document.myImage.src='images/display/04-04-18-carole.jpg'"
onMouseout
="document.myImage.src='images/display/04-04-18-trevor.jpg'">
<img src="images/display/04-04-18-trevor.jpg" name="myImage"></a>

Change the src= to your images

Note that the mouseout image is displayed initially

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
I did what you suggested and found lots of onmouseover script to swap
images and to set text on the status bar but nothing exactly like I
was looking for. Does anyone know the exact script I need?

I have a line of text with a person's name in it. When the mouse
scrolls over the name I would like a picture of that person to pop up
and then disappear when the mouse leaves the name.


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
Hang on a second, surely there is much easier was of doing this with FP2003?

Select the image.
From the Format menu select behaviours
From the behaviours window, select Inset > Swap image
Enter the second image properties into the dialogue box that appears.
 
Back
Top