hi
i have a vertical collapsible menu and i want it to expand collapse when i click on the icon (span) works as intended
and go to the page when i click on the name (now works only on second click)
any idea how can i achieve this behavior ?
this is my code
var $categories_menu = $('#categories-menu');
$categories_menu.smartmenus(
{
subIndicatorsText: '',
collapsibleShowFunction: function ($ul, complete)
{
$ul.slideDown(200, complete);
},
collapsibleHideFunction: function ($ul, complete)
{
$ul.slideUp(200, complete);
},
hideOnClick: false
});
$categories_menu.smartmenus('itemActivate', $('.sm-categories a.current'));
thanks in advance for any help