-
Re: Layers @ division <DIV> - Please help
You need to change the layer stack order, or Z-INDEX value for it, in
order for the layer to be on top/bottom of any other overlapping layer(s),
document.layers['LAYERNAME'].zIndex will work for NS4.x,
document.all['LAYERNAME'].style.zIndex for IE4 and up and
document.getElementById('LAYERNAME').style.zIndex for IE5 and NS 6.x,
something like say ->
var upperMostzIndex=23;
var currentTopLayer;
function getUpfront(theLayer)
{
currentTopLayer.style.zIndex=theLayer.style.zIndex;
theLayer.style.zIndex=upperMostzIndex;
currentTopLayer=theLayer;
}
Dan
"aldoF" <aldo@lycosmail.com> wrote in message
news:3c3c2ca1$1@147.208.176.211...
>
> In a whole document, I am using a "document division" to show/hide various
> layers. This works only with the first layer then it puts it underneath.
>
> I would like to have it relative and dynamically open in the same place.
>
>
> <div id="Austria" style="position: absolute; left: 200; top: 360;
visibility:
> hidden; width: 150; height: 115" class="yellow">
>
>
> Anybody who could help me ?
>
> Thanks Aldo
-
Layers @ division <DIV> - Please help
In a whole document, I am using a "document division" to show/hide various
layers. This works only with the first layer then it puts it underneath.
I would like to have it relative and dynamically open in the same place.
<div id="Austria" style="position: absolute; left: 200; top: 360; visibility:
hidden; width: 150; height: 115" class="yellow">
Anybody who could help me ?
Thanks Aldo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks