mouseover picture label

M

Matt

Hello. I'm sure you've noticed how when you put the mouse over some pictures on a web page a label appears. I'm trying to do this with FP2002. For example a picture of a house which when you put the mouse on it the address appears in a text box
I should also say I'm not fluent in script although I've got a basic understanding, so if you could script at a sort of 3rd grade level I'd appreciate it.
 
J

John Jansen \(MSFT\)

Right click the picture
Picture Properties
Add text for the Alternative Representation
Save

Or go into code view and add the alt attribute:

<img src="foo.jpg" alt="this is a house">

the alt text will show up when people mouse over the image.

--
Thanks!
John Jansen
Microsoft Office FrontPage
This posting is provided "AS IS" with no warranties, and confers no rights.
Matt said:
Hello. I'm sure you've noticed how when you put the mouse over some
pictures on a web page a label appears. I'm trying to do this with FP2002.
For example a picture of a house which when you put the mouse on it the
address appears in a text box.
I should also say I'm not fluent in script although I've got a basic
understanding, so if you could script at a sort of 3rd grade level I'd
appreciate it.
 
M

Mark Fitzpatrick

Actually, you're probably in luck. The labels are probably just the
alternate image text being shown and not using any javascript. You can click
on the properties of an image and enter in the text you want to appear in
the alternate text property.

Hope this helps
Mark Fitzpatrick
Microsoft MVP - FrontPage

Matt said:
Hello. I'm sure you've noticed how when you put the mouse over some
pictures on a web page a label appears. I'm trying to do this with FP2002.
For example a picture of a house which when you put the mouse on it the
address appears in a text box.
I should also say I'm not fluent in script although I've got a basic
understanding, so if you could script at a sort of 3rd grade level I'd
appreciate it.
 
T

Thomas A. Rowe

Note: NS6 and up do not show the ALT test unless the image is missing.
--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================
 
J

Jon

Right - one would use title for a "tooltip" like effect and alt for text you
want to appear in non-image browsers. Eg
<img
alt="What text do you want to appear when the user can't view images"
title="What text do you want to appear when the user can view images and
mouses over the picture" src="pic.gif">
When the image is viewable title takes precedence over alt. So if you didn't
want users who can view images to see alt text when they mouseover you would
do
<img alt="What text do you want to appear when the user can't view images"
title="" src="pic.gif">

Jon
Microsoft MVP - FP
 
Top