PDA

View Full Version : Dropdown Appearing Below Content



pinch
05-11-2012, 12:37 PM
1) Script Title: Dropdown HTML Control

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropdowncontrol.htm

3) Describe problem:

I am using the 'Dropdown HTML Control' to show a dropdown menu on my forum. When you hover over 'Sheets', a dropdown should appear with 'Fantasy Football' and 'Fantasy Racing'. However, the container below the dropdown always appears on top of the menu which is shown dynamically. You can see this here (http://www.cheatsheetwarroom.com/forum/default.aspx).

I have tried to adjust the z-index of the container which is shown dynamically, but this doesn't seem to help my cause. This works on all of my other pages, just not on my forum.

Thanks.

vwphillips
05-11-2012, 01:40 PM
change style="z-index=9999;" to style="z-index:9999;"



<div id="panSheetsPopup" style="z-index:9999;" class="primaryNavDropdownContainer">
<p>
<a href="http://www.cheatsheetwarroom.com/fantasy-football/nfl/cheat-sheets.aspx">Fantasy Football</a>
</p>
<p>
<a href="http://www.cheatsheetwarroom.com/fantasy-racing/nascar/cheat-sheets.aspx">Fantasy Racing</a>
</p>
</div>

pinch
05-11-2012, 02:20 PM
Doh!!

Thanks.