Interactive Buttons & Layers Issue

G

gsaltz

In FrontPage 2003, I am trying to create a fly-out menu
system, based the acticle at
http://www.sharepointcustomization.com/resources/tipstrick
s/FlyOutButton.htm. But I have run into a
layer/interactive button/onmouseout problem.

I create an interactive button "Button_1" (a parent
button), which has a behavior set to make layer "Layer_1"
visible (the layer for a child or fly-out menu)
on "onmouseover". In Layer_1, I have placed interactive
buttons "Button_2" and "Button_3". I set a behavior for
Layer_1 that "onmouseout" will make Layer_1 invisible
again. That is, whenever the mouse leaves the confines of
Layer_1, Layer_1, with its buttons, should become
invisible.

This is the problem: When either Button_2 or Button_3
gains and then looses mouse focus, Layer_1 immediately
becomes invisible (and thus the buttons as well), even
though the mouse is still within the Layer_1 boundries,
though not on the buttons. There is plenty of space
between the Layer_1 boundaries and the buttons. In fact,
I can drive the mouse within Layer_1 and not touch the
buttons, the layer stays visible, and as I leave the
layer, it becomes invisible - as expected. So, there's
something up with the layer/interactive
buttons/onmouseout.

ANyone have any ideas how to solve this problem? Thanks!!!
 
M

MD WebsUnlimited.com

That is normal behavior because the mouse has shifted focus to the image
file. What you normally do in these systems is stretch a transparent gif
inside of the div (zorder) under the visible div then when the mouse enters
the transparent image you hide the visible menus.

All of that requires code that is outside of the scope of the intrinsic
behaviors.
 

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