Print
24
August
2010

Fix issue with Slimbox appearing behind page elements

Sometimes the slimbox plugin works, but it displays behind other page elements, like navigation bars.

Some navigation bars use a z-index to ensure that they are above other elements.

To fix this issue, you need to modify your slimbox.css styles.


Original Code (code to replace):

 #lbOverlay {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #000;
    cursor: pointer;    
}

#lbCenter, #lbBottomContainer {
    position: absolute;
    left: 50%;
    overflow: hidden;
    background-color: #fff;    
}



Code with Fix:


 #lbOverlay {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #000;
    cursor: pointer;
    z-index: 101;
}


#lbCenter, #lbBottomContainer {
    position: absolute;
    left: 50%;
    overflow: hidden;
    background-color: #fff;
    z-index: 102;
}

Interested in building next-gen Big Data architecture? Join our webcast on 5/24 at 9am PT. Register here: http://t.co/k5Dsfskg

Oracle Oracle

#Oracle User Groups: Are You a Member Yet? Learn more about our 870 User Groups worldwide and become a member today: http://t.co/LsktPjH5

Oracle Oracle