Back to Top
The nuts and bolts for
Creative web development

The underlying page elements are still visible through my layers

Question:

I've defined a layer to be used as a popup/flyout menu, but my page is still visible right through that layer. How can I change this?

Answer:

If you don't specify a background either for a layer or for its content (eg. a table), then the layer is transparent. So yes, then you can see right through the layer.
Specify a background (either a color or an image) and your menus should be fine.

Another common issue is that the (menu) layer has a lower z-index than some other layer which effectively places it under the other layer. That way too, it can seem like you can see through the (menu) layer, while in fact the other layer is displayed on top of the (menu) layer.
Make sure the z-index ordering of all your layers is correct.

Marja Ribbers-de Vroed

Marja Ribbers-de VroedWell, what's there to tell?

I worked as a software engineer for a well-known Dutch software company for about 10 years. But then I decided I did not want to work there anymore.
Since then, I've been working with my husband in our own company.

I "discovered" web development early 2000, and I soon found out that I could actually create my own extra (DHTML) features in Dreamweaver by building custom extensions.
My first extension was Cross-browser AutoScroller, but I've developed several other ones since then.

See All Postings From Marja Ribbers-de Vroed >>

Share this Article

Comments

onMouseOver Event

Using Dreamweaver MX2004 and Layer Genie tutorials.  Each tutorial ends with, "I selected the onMouseOver Event for the layers to come up."

Where is the "onMouseOver" event found.