Webunity | Gilles van den Hoven schrieb:
>> Wow, lots of code... for my Thickbox adaption the following worked fine:
>>
>> html, body {
>>      min-height: 100%;
>> }
>> #yourDiv {
>>      height: 100%;
>> }
>>
>> #yourDiv has to be a direct child of the body...
>>   
> Ah, thanks. But what if i want to overlay an overlay?
> 
> Gilles

I think that should work:

html, body {
     min-height: 100%;
}
#overlay-1, #overlay-2 {
     position: fixed;
     height: 100%;
     z-index: 999;
}
#overlay-2 {
     z-index: 1000;
}

<body>
     <div id="overlay-1"></div>
     <div id="overlay-2"></div>
</body>


Is it that what you mean? It will also work with the overlay divs nested.


-- Klaus



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to