trigger both responsively
var menu = $('nav ul'), plink = $('#pull, .link'), go;
function acdc() {
var ww = $(window).width();
if (ww>600 && go) {//on desktop
if (menu.is(':hidden')) { menu.removeAttr('style'); }
plink.unbind();
go=false;
} else if (ww<600 && !go) {//on small screen
plink.on('click', function(e) {
e.preventDefault();
menu.slideToggle();
});
go=true;
}
}
acdc();
$(window).resize(function () { acdc(); });
made a fiddle: http://jsfiddle.net/filever10/Lt9V3/