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()
Bookmarks