Team:Davidson-MissouriW/Team/Pictures

From 2010.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 14: Line 14:
<body id="team" onload="setPageSize()">
<body id="team" onload="setPageSize()">
 +
<!--
<center>
<center>
<img src="http://www.marqueeapparel.com/main/Left-Arrow.png"  id="prev" width=50 onclick"show('pic')" />
<img src="http://www.marqueeapparel.com/main/Left-Arrow.png"  id="prev" width=50 onclick"show('pic')" />
Line 23: Line 24:
<img src="https://static.igem.org/mediawiki/igem.org/5/5f/DavMWCurtiss.jpg"  id="pic4" style="display:none" />
<img src="https://static.igem.org/mediawiki/igem.org/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')" />
+
<img src="http://www.marqueeapparel.com/main/Right-Arrow.png"  id="next" width=50 onclick="show('pic')"/>
</center>
</center>
<img src="https://static.igem.org/mediawiki/2010/b/b7/Davidson-MissouriWSteph2.png" height=100 width=62 id="mini0" onclick="setCurr('0')"/>
<img src="https://static.igem.org/mediawiki/2010/b/b7/Davidson-MissouriWSteph2.png" height=100 width=62 id="mini0" onclick="setCurr('0')"/>
Line 30: Line 31:
<img src="https://static.igem.org/mediawiki/igem.org/d/d2/DavMWBridget.jpg" height=100 width=62 id="mini3"  onclick="setCurr('3')"/>
<img src="https://static.igem.org/mediawiki/igem.org/d/d2/DavMWBridget.jpg" height=100 width=62 id="mini3"  onclick="setCurr('3')"/>
<img src="https://static.igem.org/mediawiki/igem.org/5/5f/DavMWCurtiss.jpg" height=100 width=62 id="mini4" onclick="setCurr('4')"/>
<img src="https://static.igem.org/mediawiki/igem.org/5/5f/DavMWCurtiss.jpg" height=100 width=62 id="mini4" onclick="setCurr('4')"/>
-
 
+
-->
<script type="text/javascript">
<script type="text/javascript">
-
curr=0;
+
var curr=0;
function setCurr(ncurr) {
function setCurr(ncurr) {
-
   id='pic';
+
   id='pic0';
-
   el=document.getElementById(id+curr);
+
  id2='pic1';
-
   el2=document.getElementById(id+ncurr);
+
   el=document.getElementById(id);
-
curr=ncurr;
+
   el2=document.getElementById(id2);
 +
 
el.style.display='none';
el.style.display='none';
el2.style.display = 'block';
el2.style.display = 'block';
Line 46: Line 48:
function show(id){
function show(id){
-
   el=document.getElementById(id + curr);
+
   el=document.getElementById(id);
-
  curr = (curr+id)%5;
+
   el2=document.getElementById(id);
-
   el2=document.getElementById(id +curr);
+
// window.location.hash="Students";
// window.location.hash="Students";
-
     el.style.display='none';
+
     el.style.display='block';
     el2.style.display = 'block';
     el2.style.display = 'block';
//window.location.hash="row2";
//window.location.hash="row2";

Latest revision as of 05:44, 27 October 2010