Team:Davidson-MissouriW/Team/Pictures

From 2010.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
{{Template_Wiki}}
{{Template_Wiki}}
<html><body id="team" onload="setPageSize()">
<html><body id="team" onload="setPageSize()">
 +
<style type="text/css">
 +
.first {
 +
position:absolute;
 +
z-index:1;
 +
}
 +
 +
.second {
 +
position:absolute;
 +
z-index:10;
 +
}
 +
</style>
 +
 +
<body id="team" onload="setPageSize()">
 +
<!--
 +
<center>
 +
<img src="http://www.marqueeapparel.com/main/Left-Arrow.png"  id="prev" width=50 onclick"show('pic')" />
 +
 +
<img src="http://2010.igem.org/wiki/images/b/b7/Davidson-MissouriWSteph2.png" width=250  id="pic0" style="display:none" />
 +
<img src="http://igem.org/wiki/images/3/33/DavMWDC_Visit.jpg"  id="pic1" style="display:none" />
 +
<img src="http://igem.org/wiki/images/3/32/DavMWMW_Visit.jpg"  id="pic2" style="display:none" />
 +
<img src="http://igem.org/wiki/images/d/d2/DavMWBridget.jpg"  id="pic3" style="display:none" />
 +
<img src="http://igem.org/wiki/images/5/5f/DavMWCurtiss.jpg"  id="pic4" style="display:none" />
 +
 +
<img src="http://www.marqueeapparel.com/main/Right-Arrow.png"  id="next" width=50 onclick="show('pic')"/>
 +
</center>
 +
<img src="http://2010.igem.org/wiki/images/b/b7/Davidson-MissouriWSteph2.png" height=100 width=62 id="mini0" onclick="setCurr('0')"/>
 +
<img src="http://igem.org/wiki/images/3/33/DavMWDC_Visit.jpg" height=100 width=62 id="mini1" onclick="setCurr('1')" />
 +
<img src="http://igem.org/wiki/images/3/32/DavMWMW_Visit.jpg" height=100 width=62 id="mini2" onclick="setCurr('2')" />
 +
<img src="http://igem.org/wiki/images/d/d2/DavMWBridget.jpg" height=100 width=62 id="mini3"  onclick="setCurr('3')"/>
 +
<img src="http://igem.org/wiki/images/5/5f/DavMWCurtiss.jpg" height=100 width=62 id="mini4" onclick="setCurr('4')"/>
 +
-->
<script type="text/javascript">
<script type="text/javascript">
-
function setPageSize() {
+
var curr=0;
-
  len = document.getElementById('super_main_wrapper').offsetHeight;
+
function setCurr(ncurr) {
-
   document.getElementById('bodyContent').style.height = len + 'px';
+
  id='pic0';
-
   document.getElementById('SupWrapper').style.height = len + 'px';
+
  id2='pic1';
-
  document.getElementById('news').style.height = len + 'px';
+
   el=document.getElementById(id);
 +
   el2=document.getElementById(id2);
 +
 
 +
el.style.display='none';
 +
el2.style.display = 'block';
 +
 
}
}
function show(id){
function show(id){
-
   el=document.getElementById(curr);
+
   el=document.getElementById(id);
-
  curr = curr+id;
+
   el2=document.getElementById(id);
-
   el2=document.getElementById(curr);
+
-
  if(el.style.display == 'none'){
+
// window.location.hash="Students";
-
        el.style.display = 'block';
+
     el.style.display='block';
-
window.location.hash="Students";
+
    el2.style.display = 'block';
-
  }
+
-
  else
+
-
     el.style.display='none';
+
-
  if(el2.style.display == 'none'){
+
-
        el2.style.display = 'block';
+
//window.location.hash="row2";
//window.location.hash="row2";
-
  }
 
-
  else
 
-
    el2.style.display='none';
 
}
}
</script>
</script>

Latest revision as of 05:44, 27 October 2010