Superbe! That's exactly what I wish. Thx for the help. Dom
On Oct 19, 1:32 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Dom, > > Rather than use the pathClass option for this, you can manually show > all '.current' submenus on document ready, then set a timer to close > them after a couple of seconds. Below is your initialisation code > modified as described. I've tested it and it seems to work right - > unless I have misunderstood what you are trying to do: > > // initialise plugins > $(document).ready(function() { > $('ul.sf-menu').superfish({ > delay: 800, // one second > delay > on mouseout > animation: {opacity:'show',height:'show'}, // fade-in and > slide-down animation > speed: 'normal' // faster > animation speed > }) > .find('li.current').showSuperfishUl(); > > $('#top_search-input').example('Chercher dans le site...'); > > }); > > $(window).load(function() { > setTimeout(function() { > $('ul.sf-menu li.current').hideSuperfishUl(); > },2000); > > }); > > I removed the autoArrows and dropShadow settings as you had them set > to their default values anyway. > > Joel Birch.