Show layer and disable clicking other body elements

Show layer and disable clicking other body elements

am 26.11.2007 19:34:52 von Chris

Using css how do I get a layer to stack on top of the rest of the
body's content so the web page user can't interact with any other
elements/links on the page but that layer?

************************************************************ *****
My web page

I can't click on any links while the layer is active

|----------------------------------------|
| Layer |
|----------------------------------------|

************************************************************ ******

Cheers,

Chris

Re: Show layer and disable clicking other body elements

am 26.11.2007 22:20:03 von Kailash Nadh

On Nov 26, 6:34 pm, Chris wrote:
> Using css how do I get a layer to stack on top of the rest of the
> body's content so the web page user can't interact with any other
> elements/links on the page but that layer?
>
> ************************************************************ *****
> My web page
>
> I can't click on any links while the layer is active
>
> |----------------------------------------|
> | Layer |
> |----------------------------------------|
>
> ************************************************************ ******
>
> Cheers,
>
> Chris

A position:absolute layer on top of all other layers (right after the
), stretched to the maximum width and height should cover
everything up.
http://www.w3schools.com/css/pr_class_position.asp

Kailash Nadh | http://kailashnadh.name

Re: Show layer and disable clicking other body elements

am 26.11.2007 23:28:49 von a.nony.mous

Chris wrote:

> Using css how do I get a layer to stack on top of the rest of the
> body's content so the web page user can't interact with any other
> elements/links on the page but that layer?

Would you care to explain the reason for wanting that, please?

--
-bts
-Motorcycles defy gravity; cars just suck