Hi Brandon,

Sorry for repeating a solution you have already looked at, but I want
to make sure you have seen the relevant part of the Superfish docs.
The only example that demonstrates the functionality of the current
submenu path (breadcrumb path?) being restored when the menu has
finished being hovered over is hidden away here:
http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-example/

Please note that Superfish takes care of this, and more, for you and
you can customise the CSS to make it look almost any way you want. The
menu does not even have to be of the "all horizontal" kind to make use
of the path restoring function. If you are adding a "current" class to
each li on the way to the current page's menu item, simply pass that
class in via the options object, like so:

$('ul.nav').superfish({
    pathclass : 'current',
    /* other optional parameters here, such as... */
    delay : 1000,
    animation : {opacity : 'show'}
});

If you do go this route I suggest you starting with one of the
existing Superfish demo CSS files and altering from there to achieve
the look you want, because the CSS is an important part of how the
menu works and allows for graceful degradation without JS available.

Later on today I will be adding a link on the main Superfish page to a
fully commented version of the CSS file for the main example which I
hope will provide a further aid to people wanting to dive in deeper
and fully understand how the menu works.

Again, sorry if you have already seen this solution and decided
against it, in which case this post was useless to you.

Joel Birch.

Reply via email to