I am having some road blocks getting this going. I have 4 navigation links and within the content container, I have declared a handful sections and have id tagged them accor
This could be work:
$("a").bind("click", function(e) { e.preventDefault(); var id = $(this).data("section"); $("#content section:visible").fadeOut(); $(id).fadeIn(); });