Re: Please... help with these @#** dropdowns

message from cpageski on 25 Jul 2004
4. Your closer layer is not working the way it should. You should make it
invoke the autoLayers to hide Layers 1 through 4, not just layer 4 the way
you have it -
<div id="Layer4" style="position:absolute; width:400px; height:65px;
z-index:4; left: 0px; top: 0px; visibility: hidden; background-color:
#FF0000; layer-background-color: #FF0000; border: 1px none #000000;">
<div align="left"><a href="blank.html"
onMouseOver="P7_autoLayers(0,'Layer4')"><img src="images/10x10.gif"
name="image4" width="400" height="77" border="0" id="image4"></a></div>

If I do this, then all the little drop dows show up in the upperleft corner
when I mouse over the closer layer, do you mean add an auto hide? My only
options in autolayer is show? I deleted stylesheet attchments that seemed
extraneous, didn't combine into one stylesheet yet, but I think I addressed
everything else and uploaded
http://www.aspensportsmedicine.org/index24.html
 
Murray *TMM* replied to cpageski on 25 Jul 2004
Honestly, I don't see why you need a closer layer in the first place. You
are using the AutoHide on the body, and that *should* hide each layer when
you mouse out.

Have you tried posting this on the PVII forums?
news://forums.projectseven.com/pviiwebdev
 
Murray *TMM* replied to Murray *TMM* on 25 Jul 2004
Yes - that would work. But using AutoHide, you should not have to do this
at all.
 
Osgood replied to Murray *TMM* on 25 Jul 2004
I guess something in the javascript has gotten mixed up. Autohide, as
the poster seems to be implying, doesnt close any open layers
onMouseOver as it should do when applied to the closer image.

Needs a more indepth look at where or what has been applied to which
element to stop it from doing this.

If it were my page Id probably want to get to the bottom of it and end
up striping out all of the behaviours and re-applying them until I found
what was wrong.

The simple solution would be to apply the show/hide layer to the four
images above the menu triggers, which does work.
 
Murray *TMM* replied to Osgood on 25 Jul 2004
Autohide actually closes the layers when you mouse OFF of the layer, since
it is monitoring the cursor's position with regard to the layer itself -
that's why it's called AutoHide. You do not need to use closer layers if
you can use AutoHide.

If your submenus have sub-submenus, then you cannot use AutoHide - at least
the way I understand how it works.
 

Archived message: Re: Please... help with these @#** dropdowns (Macromedia Dreamweaver)