From: dylan Date: Mon, 18 Oct 2010 17:53:00 +0000 (-0400) Subject: added hidden div & jQ proofofconcept on 1st link X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=55f0d1a8de17b3b92ebb6e9d48729bbb66afaa25;p=dylansserver.git added hidden div & jQ proofofconcept on 1st link --- diff --git a/includes/tabs.js b/includes/tabs.js index 92c5ef6..57673e5 100644 --- a/includes/tabs.js +++ b/includes/tabs.js @@ -1,12 +1,9 @@ $(document).ready(function() { - $(".content").hide(); - $("ul.tabs li:first").addClass("active").show(); - $(".content:first").show(); - $("ul.tabs li").click(function() { - $("ul.tabs li").removeClass("active"); + $("ul.portfolio li").click(function() { + //$("ul.tabs li").removeClass("active"); $(this).addClass("active"); - $(".content").hide(); + $(".exhibit").hide(); var activeTab = $(this).find("a").attr("href"); $(activeTab).fadeIn();