From 55f0d1a8de17b3b92ebb6e9d48729bbb66afaa25 Mon Sep 17 00:00:00 2001 From: dylan Date: Mon, 18 Oct 2010 13:53:00 -0400 Subject: [PATCH] added hidden div & jQ proofofconcept on 1st link --- includes/tabs.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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(); -- 2.30.2