disinclined.org
/
git
/
dylansserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'dev' into live
[dylansserver.git]
/
includes
/
tabs.js
diff --git
a/includes/tabs.js
b/includes/tabs.js
index
b4036f4
..
79d76bb
100644
(file)
--- a/
includes/tabs.js
+++ b/
includes/tabs.js
@@
-1,22
+1,19
@@
$(document).ready(function() {
$(document).ready(function() {
- $(".
tabs
").hide();
+ $(".
exhibit
").hide();
var divs = document.getElementsByTagName('div');
if(document.location.hash){
$(document.location.hash + '_').show();
}
var i = 0;
var divs = document.getElementsByTagName('div');
if(document.location.hash){
$(document.location.hash + '_').show();
}
var i = 0;
- $("ul
.portfolio li.project a.exhibit
").click(function() {
+ $("ul
#portfolio li a.tab
").click(function() {
i++;
i++;
- $(".tabs").hide();
- $("ul.portfolio li").removeClass("active");
- $(this).addClass("active_project");
-
+ $(".exhibit").hide();
var activeTab = $(this).attr("href") + '_';
if (i==1)
$(activeTab).show("slide", 600);
else
$(activeTab).show("puff", 600);
var activeTab = $(this).attr("href") + '_';
if (i==1)
$(activeTab).show("slide", 600);
else
$(activeTab).show("puff", 600);
- $(activeTab).addClass("active_
tab
");
+ $(activeTab).addClass("active_
exhibit
");
});
$('#showdivs').click(function() {
for(i=0;i<divs.length;i++){
});
$('#showdivs').click(function() {
for(i=0;i<divs.length;i++){