Mr. Buyens I got it.

B

Bennett

Hello,

In my previous posting I wanted to...
I want a mouseover on a hotspot of a picture on a page to
change the visibility of a layer on the same page.

The picture and the layer are on the same page.

I accomplished this by adjusting HTML code produced by
FP2003 hotspot properties to the following...

<map name="FPMap0">
<area coords="238, 1, 490, 16"
onmouseover="parent.Name_Def.style.visibility='visible'"
onmouseout="parent.Name_Def.style.visibility='hidden'">
</map>

where Name_Def is the layer ID

I have 17 hotspots on a screen shot of software I have
written over the years to operate my bar. I am using the
above code to show definitions of these different areas of
that screen shot, using layers to hold the definitions.
The only down side I have seen is if I move the mouse to
fast (really fast) it will show the appropriate layer and
then leave it up, because I guess it did'nt see the
mouseout while bringing up that layer.
Mr. Buyens do you have any thoughts.

Thanks,
Bennett
 
J

Jim Buyens

Actually, this was my first thought but when I checked the Microsoft
documentation for the onmouseover event, it didn't say that
onmouseover was supported for the <area> tag. That's why I though the
more complicated onmousemove gyration was necessary.

However, if you tried it and it works, congratulations and thanks for
the info.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

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