SyntaxFix
Write A Post
Hire A Developer
Questions
Two things I noticed (they may be mistakes from when you wrote it down though).
$('.navlink').click
return $(this).data("selected")==true