HighDots Forums  

Pop Up Menu appearing under layer

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Pop Up Menu appearing under layer in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gopher_By_Fender
 
Posts: n/a

Default Pop Up Menu appearing under layer - 07-10-2004 , 07:22 AM






Hey guys,
please bear with me, im pretty new to DW, and i am stuck.

I created a pop up menu at the top of my page (a few in fact, coming down from
my Nav bar).
Below them is a layer with text in, and no matter what i do, my menu always
appears behind the text layer, and i can't seem to change it. I'm probably
missing something blinding obvious, but i just can't see it.
Any help would be much appreciated, as changing the layout of the site is not
really much of an option. I've tried adjustins the Z index, ive got no
overlapping switched on, and ive tried messing around with the visibilty
options. Can someone please point me in the right direction??!

Many Thanks

Gopher


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Pop Up Menu appearing under layer - 07-10-2004 , 08:01 AM






You will have to edit the pop-up menu javascript that is linked on every
page to do this.

The idea is this - the pop-up layers are hardwired to have z-index of 1. If
you need your layers to go UNDER them, there is no way to adjust *your*
layers to do that, since a z-index of 0 (or less), while legal, is not well
supported. So what you have to do is to adjust the pop-up layers so that
they are at a z-index of - say - 99, i.e., higher than anything else on the
page.

Here's a recent post from Trent Pastrana that describes how to do it -

Go into your mm_menu.js file and do a search and replace for .. z-index ..
It should bring up 2 of them. Change the first one manually to a higher
number than 1.

The line looks like this belowand is around line 121 or so..

<div id="menuLayer'+ countMenus +'" style="position:absolute;z-index:3; ..

BUT WAIT!

Before you devote any more energy to this (badly flawed) menu system, read
this carefully -

http://apptools.com/rants/jsmenu.php

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Gopher_By_Fender" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hey guys,
please bear with me, im pretty new to DW, and i am stuck.

I created a pop up menu at the top of my page (a few in fact, coming down
from
my Nav bar).
Below them is a layer with text in, and no matter what i do, my menu
always
appears behind the text layer, and i can't seem to change it. I'm
probably
missing something blinding obvious, but i just can't see it.
Any help would be much appreciated, as changing the layout of the site is
not
really much of an option. I've tried adjustins the Z index, ive got no
overlapping switched on, and ive tried messing around with the visibilty
options. Can someone please point me in the right direction??!

Many Thanks

Gopher




Reply With Quote
  #3  
Old   
Gopher_By_Fender
 
Posts: n/a

Default Re: Pop Up Menu appearing under layer - 07-10-2004 , 11:30 AM



cheers mate, that was a great help. i read the link at the bottom, and i think i will take the guys advice and build the menus myself from now on :P

Thanx

Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Pop Up Menu appearing under layer - 07-10-2004 , 11:44 AM



It's pretty simple to do - will take you about an hour of fiddling to get
straight with it. From that point on, you will never be tempted to use the
all-javsacript ones again! And, you'll learn alot too!

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Gopher_By_Fender" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
cheers mate, that was a great help. i read the link at the bottom, and i
think i will take the guys advice and build the menus myself from now on :P

Thanx



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.