superfish is fairly easy to program using the onBeforeShow option.
Using jQuery css functions you can make position changes to subs. There
is a bit of a mystique about "mega menus" . Reality of using UL LI
structure is you can put multiple columns inside an LI using most
block level container elements.(div,ol,ul..etc) Here's a usage example used on a vertical menu that aligns all subs with top of main menu instead of the top of the parent li: var menuOffset=$('ul.sf-menu').offset().top; $('ul.sf-menu').superfish({ autoArrows: true, onBeforeShow: function(){ var offset=$(this).parent().offset().top $(this).css("top",(menuOffset-offset)) } }); Michal wrote: no one? On 14 jan, 11:46, Michal <greatmedia...@gmail.com> wrote:I came across quite some examples of the so called "mega menu". But there just doesnt seem to be 1 version that rules them all.What i really would need is a auto calculate size in the menu just like on;http://shop.puma.com. There menu does not go outside the wrapper. Is there anyone who has seen something like this. |
- [jQuery] Mega menu, but the good one. Michal
- [jQuery] Re: Mega menu, but the good one. Michal
- Re: [jQuery] Re: Mega menu, but the good one. Charlie