Results 1 to 3 of 3

Thread: DD Mega Menu script

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD Mega Menu script

    1) Script Title: DD Mega Menu

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

    3) Describe problem: How do I get the submenu div to appear above the main menu bar rather than below it?

  2. #2
    Join Date
    Aug 2004
    Posts
    9,911
    Thanks
    3
    Thanked 969 Times in 957 Posts
    Blog Entries
    15

    Default

    Try finding the below block of code inside the .js file, and add to it the part in red:

    Code:
    					if ($submenu.data('istopmenu')){
    						$anchors.removeClass('selected')
    						$anchor.addClass('selected')
    					}
    					else
    						offset.top-=$submenu.outerHeight()+$anchor.outerHeight()
    DD Admin

  3. #3
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks very much.

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
  •