PDA

View Full Version : DD Mega Menu script



dynasty
06-17-2011, 01:15 PM
1) Script Title: DD Mega Menu

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

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

ddadmin
06-19-2011, 07:26 AM
Try finding the below block of code inside the .js file, and add to it the part in red:


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

dynasty
06-20-2011, 12:47 PM
Thanks very much.