PDA

View Full Version : Amazon style drop down menu not appearing



linux1880
04-30-2008, 01:46 PM
1) Script Title: DHTML Ad Box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/dhtmlad.htm

3) Describe problem: This box drop in back of the other divs I think . I can see it behind the other layers a little bit but it doesn't drop in the front of the page. How do I resolve this , please help. Thanks

ddadmin
05-01-2008, 02:36 AM
Are you talking about in IE6? This is a known issue that plagues not just this script, but most scripts that manipulate layers on the page due to a CSS bug in IE6.

linux1880
05-02-2008, 02:08 PM
it doesn't work in firefox either

jscheuer1
05-02-2008, 02:18 PM
Please post a link to the page on your site that contains the problematic code so we can check it out.

That said, this sounds like a problem with z-index stacking. In the style section for this script, add the part in red:


<style type="text/css">
<!--
#sponsorAdDiv {z-index:10000; position:absolute; height:1; width:1px; top:0; left:0;}
-->
</style>