Layers/Interactive Buttons: Flicker

S

Steve

I have added a layer of interactive buttons as a submenu.
On mouseover within the submenu layer, moving within the
layer but among the buttons, the entire submenu layer
flickers annoyingly as the mouse moves from button to
button. Can this be stopped? Thanks.
 
J

Jens Peter Karlsen[FP-MVP]

Post a link to the page in question.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Steve [mailto:[email protected]]
Posted At: 18. juli 2004 22:17
Posted To: microsoft.public.frontpage.programming
Conversation: Layers/Interactive Buttons: Flicker
Subject: Layers/Interactive Buttons: Flicker


I have added a layer of interactive buttons as a submenu.
On mouseover within the submenu layer, moving within the layer but among
the buttons, the entire submenu layer flickers annoyingly as the mouse
moves from button to button. Can this be stopped? Thanks.
 
S

Steve

Thanks, but I can't publish it yet (just starting design
of replacement site); may I send files somewhere?
 
J

Jim Buyens

This usually happens when:

o You discover that moving the mouse off the submenu
background and over a button makes the submenu
disappear.

o You try to fix this by adding an onmouseover
behavior to the button, making the submenu visible
again.

If this sounds familiar, then the flicker is occurring
because, however briefly, the submenu layer is going
invisible and then visible again.

The answer is *not* to use the layer's onmouseout event
to make it invisible. Instead, use the onmouseover event
of something larger than (and behind) the submenu layer.

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)
|/---------------------------------------------------
*----------------------------------------------------
 
S

Steve

I think this is excellent advice but I can't seem to fix
the problem yet. I did have an onmouseout for moving off
the submenu to hide the submenu (now deleted). I did add
a larger layer behind the submenu set to hide the submenu
onmouseover. I then tried deleting the onmouseover event
from a button on the submenu that makes the submenu
visible and --surprise-- the submenu disappeared when I
mouseovered the button. Might my problem be with layer
visibility rather than (or in addition to) invisibility?
Or is there something else I should delete? Many thanks.
 
J

Jim Buyens

You kind of lost me with, "Might my problem be with layer
visibility rather than (or in addition to) invisibility?"

You should:
1. Set both the submenu layer and the larger layer surrounding
it visible when onmouseover occurs for the main menu item.
2. Link to another page when onclick occurs for a button.
3. Set both the submenu layer and the larger layer surrounding
it invisible when onmouseover occurs for the layer
surrounding the submenu.

That's all.

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