Results 1 to 3 of 3

Thread: Dropdown Appearing Below Content

  1. #1
    Join Date
    Oct 2007
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Dropdown Appearing Below Content

    1) Script Title: Dropdown HTML Control

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...owncontrol.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.

    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.
    Last edited by pinch; 05-11-2012 at 01:10 PM. Reason: added link

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    change style="z-index=9999;" to style="z-index:9999;"


    Code:
              <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>
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. The Following User Says Thank You to vwphillips For This Useful Post:

    pinch (05-11-2012)

  4. #3
    Join Date
    Oct 2007
    Posts
    17
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Doh!!

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •