Hi,
I am not sure why you would need to use the script for such a basic functionality (that could actually be achieved easily without any JS at all) but here is something that should work as intended:
$(function() {
var $menu = $('#main-menu');
$menu.smartmenus({
subMenusSubOffsetX: 1,
subMenusSubOffsetY: -8,
markCurrentItem: true,
noMouseOver: true,
hideOnClick: false
});
// show current sub menu on init
$menu.smartmenus('itemActivate', $menu.find('a.current').eq(-1));
// prevent activating any items
$menu.bind('activate.smapi', function() { return false; });
});
Please let me know if you have any troubles.