hi i have a nav menu that hides off the side of the screen and can be toggled unfortunately it will not allow me to click on the anchor links inside (it just toggles instead is there something i can do to to override prevent default and get the anchor tags working?
var one = {queue:true, duration:1250, easing: 'easeInOutExpo'};
var two = {queue:true, duration:1500, easing: 'easeInOutExpo'};
$('nav').toggle(
function() { showMenu() },
function() { hideMenu() });
$(window).bind('load', function() {
setTimeout ( 'hideMenu()', 1000 );
});
function hideMenu()
{
$('nav').animate({ left: '-=270' }, one);
$('#container').animate({ left: '-=270' }, two);
}
function showMenu()
{
$('nav').animate({ left: '+=270' }, one);
$('#container').animate({ left: '+=270' }, two);
}