I would guess that I'm missing something here rather than it being a
problem of Superfish (and Suckerfish too)...

Instead of wanting to change HTML page when you click on one of the <a
href> links that are my menu items, i.e

<ul>
    <li><a href="the_next_page.html">Next page</a>
</ul>

I want the links to be set via a jQuery click event such as:

<ul>
    <li><a href="#" onclick="javascript: something();">Do something</
a>
</ul>


Which is fine, but when you click on the menu item, the menu stays on
screen in the same state as it was when you clicked the menu item.
What I am looking for is for the menu to close when you click on the
menu item (in the traditional manner).

I've tried calling hideSuperfishUl() in the onclick handler but
although that does hide the menu, when you show the menu again, the
last clicked item is already highlighted and stays highlighted no
matter which menu item you hover over.

Basically, how to I close the menu whenever an item is clicked,
whether it's a traditional <a href> anchor OR an onclick or jQuery set
click event.

Thanks for any help,

RS.

Reply via email to