I got it, here it's how my code looks like: $("ul.menu").supersubs({ minWidth: 10, // minimum width of sub-menus in em units maxWidth: 25, // maximum width of sub-menus in em units extraWidth: 1 // extra width can ensure lines don't sometimes turn over }).superfish({ animation: {height:'show'}, // slide-down effect without fade-in delay: 500 // 1.2 second delay on mouseout });
It was the animation: {height:'show'}, that did the trick. On 15 dez 2009, 02:16, Photonomad <club...@gmail.com> wrote: > I am also interested in this! Unfortunately, I haven't been able to > find a solution. Anyone out there know how to modify Superfish so that > the submenu will slide back up on mouseout? > > On Dec 3, 7:23 pm, Dasher <sea...@gocreate.com.au> wrote:> Hello, > > > I have just discovered superfish - it is awesome - the jquery > > interaction is great. > > > Is it possible to have the superfish drop down items slide down and > > slide up like the menu on this > > page?http://spicebrains.com/multi-level-drop-down-menu/#examples > > > I really love that effect and have seen it on a number of sites before > > and always thought it looked cool. > > > My current menu seems to show and hide the drop down items and uses > > the following code. > > > $('ul.sf-menu').superfish({ > > delay: 1000, > > animation: {opacity:'show',height:'show'}, > > speed: 100, > > autoArrows: true, > > dropShadows: true > > }); > > > Thanks in advance.