Superfish Supersubs <li> menu items width
Posted
by Byron Cobb
on Stack Overflow
See other posts from Stack Overflow
or by Byron Cobb
Published on 2010-05-27T16:05:35Z
Indexed on
2010/05/27
16:11 UTC
Read the original article
Hit count: 667
I've been stuck on this one for some time now and would really appreciate some assistance. I'm developing a superfish horizontal dropdown menu.
I would like to know how to, using supersubs, set the width of the dropdown menu items to that of the largest items width in the drop down.
The default is : $('ul.sf-menu').supersubs({ minWidth: 40, maxWidth: 41, extraWidth: 1 }).superfish();
I would like something like : $('ul.sf-menu').supersubs({ minWidth: 40, **maxWidth: auto or 100%**, extraWidth: 1 }).superfish();
I would appreciate any help at all.
Regards, Byron
© Stack Overflow or respective owner