Team:Davidson-MissouriW/Team/Pictures

From 2010.igem.org

(Difference between revisions)
Line 14: Line 14:
<body id="team" onload="setPageSize()">
<body id="team" onload="setPageSize()">
 +
 +
<img src="http://www.marqueeapparel.com/main/Left-Arrow.png"  id=prev width=50 onclick"show('-1')" />
 +
<center>
 +
<img src="http://2010.igem.org/wiki/images/b/b7/Davidson-MissouriWSteph2.png" width=250  id=0  />
 +
<img src="http://igem.org/wiki/images/3/33/DavMWDC_Visit.jpg"  id=1 style="display:none" />
 +
<img src="http://igem.org/wiki/images/3/32/DavMWMW_Visit.jpg"  id=2 style="display:none" />
 +
<img src="http://igem.org/wiki/images/d/d2/DavMWBridget.jpg"  id=3 style="display:none" />
 +
<img src="http://igem.org/wiki/images/5/5f/DavMWCurtiss.jpg"  id=4 style="display:none" />
 +
</center>
 +
<img src="http://www.marqueeapparel.com/main/Right-Arrow.png"  id=next width=50 onclick="show('1')"  />
 +
 +
<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() {
+
//curr=0;
-
   len = document.getElementById('super_main_wrapper').offsetHeight;
+
function setCurr(ncurr) {
-
   document.getElementById('bodyContent').style.height = len + 'px';
+
   //el=document.getElementById(curr);
-
  document.getElementById('SupWrapper').style.height = len + 'px';
+
   el2=document.getElementById(ncurr);
-
  document.getElementById('news').style.height = len + 'px';
+
//curr=ncurr;
 +
//el.style.display='none';
 +
el2.style.display = 'block';
 +
 
}
}
function show(id){
function show(id){
   el=document.getElementById(curr);
   el=document.getElementById(curr);
-
   curr = curr+id;
+
   curr = (curr+id)%5;
   el2=document.getElementById(curr);
   el2=document.getElementById(curr);
-
  if(el.style.display == 'none'){
+
// window.location.hash="Students";
-
        el.style.display = 'block';
+
-
window.location.hash="Students";
+
-
  }
+
-
  else
+
     el.style.display='none';
     el.style.display='none';
-
  if(el2.style.display == 'none'){
+
    el2.style.display = 'block';
-
        el2.style.display = 'block';
+
//window.location.hash="row2";
//window.location.hash="row2";
-
  }
 
-
  else
 
-
    el2.style.display='none';
 
}
}
</script>
</script>

Revision as of 01:22, 27 October 2010