I know the show/hide thing has been covered to death on stack, but I just can\'t find a solution that works for me, sorry. I\'ve tried several JS/jQuery solutions that I fou
$("div.containter ul li").each(function(){ $(this).onclick(function(){ $("div.content").hide(); $("div" + $(this).attr("href")).show(); }); });
Wrap that in a $(document).ready or whereever and you should be good to go my friend. Learn the code, so that in the future, you are gosu.
$(document).ready