The default action associated with clicking on a category link is canceled by default by the script, to prevent the user from being whisked away to another page when the action should simply be to show additional menu items. With that said, in your case since you're substituting each URL within the menu with a JS call, this concern doesn't pertain to you, so the fix is simply to renable the default action.
To do this, first, you'll want to add a JS call within the AMC menu item like so:
Code:
<div id="drillmenu1" class="drillmenu">
<ul>
<li><a href="javascript:ajaxpage('AMC.html', 'rightcolumn');">AMC</a>
<ul>
<li><a href="javascript:ajaxpage('AMC-Rambler.html', 'rightcolumn');">Rambler</a></li>
<li><a href="javascript:ajaxpage('ajaxfiles/external2.htm', 'rightcolumn');">Ambassador</a></li>
</ul>
</li>
</ul>
</div>
Then inside the JS file, find and comment out the below line (addition in red):
Code:
$anchorlink.click(function(e){ //assign click behavior to anchor link
thisdrill.slidemenu(jQuery(this).data('control').order)
//e.preventDefault()
})
That should do it.
Bookmarks