[jQuery] Superfish Feature Request
It would be nice if submenus that WOULD HAVE displayed outside the browser viewable area, to be repositioned so that they appear back inside the browser's viewable area. Thank You!
[jQuery] Superfish feature request - disabled items and menus
I'd like to see an option or method where I can disable a menu, sub menu, and menu items. $(ul.sf-menu).superfishDisabled(); Also, I added these lines to the return this.each function to give me more control over li hovers in IE var $li = $('li', this); $li.each(function(){ $(this).hover(function(){$ (this).addClass(o.hoverClass)},function(){$ (this).removeClass(o.hoverClass)}) });
[jQuery] Superfish feature request
For the demo of the latest update/example: http://www.klaasse.net/superfish-ext/superfish.html New options: * autofit (boolean) - Used to enable intelligent expansion. When a submenu doesn't fit on screen, the position of the menu is adapted in order to make it fit as good as possible. * expandClass (string) - Can be used to show submenu indicators using normal CSS. Known issues (tested in Safari 3, Opera 9, IE6, IE7 and FF2): * I'm using + 1 in my calculations to include border/margin/padding stuff in the width() and height() results. I would like to find a more robust solution; * There's some strange submenu text pixel-shift (FF only) and right border redrawing (both IE and FF) going on, which I can't explain. However, this also seems to happen using the original Superfish menu! * IE6 seems to handle the variable width top level (width:auto) incorrectly. A solution, anyone? If anyone can think of a solution to any of these issues, please let me know!
[jQuery] Superfish feature request
I am thoroughly enjoying the Superfish menu.. However, I would love to see the following option: when a submenu falls outside of the window, it's position should be adapted in order to fit. Just like most operating systems handle menus when they don't fit.. Would this be possible? It could be called something like 'forceFit' or so.. Thanks in advance! (The simplest approach would probably be to check if a ul's offset left plus it's width exceeds the window width, and adjust x position accordingly.. Likewise, this could be done for the vertical position)