DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Dan Guest

    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




  2. #2
    aldoF Guest

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links