1 $(document
).ready(function() {
3 var divs
= document
.getElementsByTagName('div');
4 if(document
.location
.hash
){
5 $(document
.location
.hash
+ '_').show();
8 $("ul#portfolio li a.tab").click(function() {
11 var activeTab
= $(this).attr("href") + '_';
13 $(activeTab
).show("slide", 600);
15 $(activeTab
).show("puff", 600);
16 $(activeTab
).addClass("active_exhibit");
18 $('#showdivs').click(function() {
19 for(i
=0;i
<divs
.length
;i
++){
20 divs
[i
].className
+= (" shownDiv");