View Full Version : drop-in content layer on top

08-27-2006, 04:40 AM
1) Script Title: drop-in content box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem: I have the drop in box working correctly, but I also have the HV menu on my page and the drop-in content is dropping in behind the menu, and I need it to drop in on top of all other content.

Is there a way to accomplish this? I tried adding a z-index:1 to the positioning of the drop-in content, but it doesn't seem to work. Any help is greatly appreciated, thanks!

08-27-2006, 05:08 AM
Try z-index:1000 -

<div id="dropin" style="z-index:1000;position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5">

My reasoning being that HV probably already employs z-indexes for its effects and may go as high as 500 or higher, so a z-index of 1 for the drop in wouldn't be any different than the default, which is 0.

08-27-2006, 04:24 PM
Works great, thanks!