How to make a layer on top od the others...

I want to know if there is a way to make a layer appear in front of another?

In my case it's a floating layer that appears as a right-click menu anywhere the user right-clicks in the window
LVL 1
mannycalaverasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HolySpiritCommented:
mannycalaveras,
i think u can use z-index of inline style of the <layer> tag, but i don't know it was supported in Nutscape or not ...

The one z-index who have bigger z-index will be on top of the one who have smaller z-index
(negative value permitted in IE)

e.g.
<layer style = "z-index : 3"...>layer 1</layer>
<layer style = "z-index : 1"...>layer 2</layer>
<layer style = "z-index : 2"...>layer 3</layer>

then, from top to bottom, the sequence is layer 1 -> layer 3 -> layer 2

<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>
Please reply me if this method works or not
<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>
-- Holy Spirit
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tkleinCommented:
its better to use the di tag
with style sheeds


0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.