Why will this refuse to work? HTML stuff
Filter only filters what is already selected. In your case, the #nav-bar element.
#nav-bar
You need this:
$('div#nav-bar a').click(function(event){ event.preventDefault(); });