Results 1 to 2 of 2

Thread: i had modified layout of dd mega menu

  1. #1
    Join Date
    Dec 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i had modified layout of dd mega menu

    hi,
    i had modified layout of dd mega menu
    pls have look http://yoursiteregistrar.com/ddmenu/
    but second submenu are not getting display properly. leaving Hugh space on left hand . please help me on that so that all submenu div should start from left.
    thanks in advance.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question, in this case, http://www.dynamicdrive.com/dynamici...ddmegamenu.htm

    To your question, if I understood it correctly, it's by design that a drop down menu is always positioned relative to the anchor link that triggered it, specifically, the later's left edge (and not the parent container of the anchor link. If you want the later behavior, try locating the following line inside the .js file:

    Code:
    var offset=($submenu.data('istopmenu'))? $anchor.offset() : $anchor.position()
    and changing it to:

    Code:
    var offset=($submenu.data('istopmenu'))? $anchor.offset() : $anchor.parent().position()
    DD Admin

Similar Threads

  1. DD Mega Menu Drop Top (not Down)
    By Sirius in forum Dynamic Drive scripts help
    Replies: 15
    Last Post: 03-27-2013, 02:43 AM
  2. DD Mega Menu Help
    By KRAZA1 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 10-15-2012, 11:49 AM
  3. 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
  4. DD Mega Menu with php
    By Rambaldi in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-11-2011, 01:39 PM
  5. Replies: 1
    Last Post: 09-06-2009, 10:42 PM

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
  •