Results 1 to 2 of 2

Thread: Mega Menu pop ups are behind other elements on page.

  1. #1
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Mega Menu pop ups are behind other elements on page.

    1) Script Title: DDMegamenu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ddmegamenu.htm

    3) Describe problem: I have the menu working but when the pop up div displays it is showing the content below the elements below it in the page plus when you move the mouse off the menu button to the pop up mega menu it immediately closes which seems to indicate that the mega menu is not receiving the mouse input. I have tried adding a large z-index to the menu div and the pop up div but no effect. Can you steer me what to look at to fix this problem?

    Thanks,
    Terry

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,000
    Thanks
    16
    Thanked 315 Times in 313 Posts
    Blog Entries
    12

    Default

    z-index only works with position, so set position:relative !important; (or position:absolute !important; depending on the placement you're trying to achieve) on the .megawrapper container. Example;
    Code:
    .megawrapper{position:relative !important; z-index:9999 !important;}
    BTW - ".megawrapper" is the class of the container that is generated by the ddmegamenu.js file (it isn't referenced in the supplied CSS file)

    If you need more help, please provide a link to your page.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

Similar Threads

  1. DD Mega Menu Help
    By KRAZA1 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 10-15-2012, 11:49 AM
  2. Resolved DD Mega Menu getting cut off
    By alaska in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 09-04-2011, 02:58 PM
  3. DD Mega Menu with php
    By Rambaldi in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-11-2011, 01:39 PM
  4. Replies: 2
    Last Post: 08-17-2010, 03:22 AM

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
  •