Team:Davidson-MissouriW/Team/Pictures

From 2010.igem.org

(Difference between revisions)
 
(4 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('-1')" />
+
<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="0" style="display:none" />
+
<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="1" 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="2" 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="3" 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="4" 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('1')" />
+
<img src="http://www.marqueeapparel.com/main/Right-Arrow.png"  id="next" width=50 onclick="show('pic')"/>
</center>
</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://2010.igem.org/wiki/images/b/b7/Davidson-MissouriWSteph2.png" height=100 width=62 id="mini0" onclick="setCurr('0')"/>
Line 30: Line 31:
<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/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')"/>
<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">
-
//curr=0;
+
var curr=0;
function setCurr(ncurr) {
function setCurr(ncurr) {
-
   //el=document.getElementById('0');
+
  id='pic0';
-
   el2=document.getElementById(ncurr);
+
  id2='pic1';
-
//curr=ncurr;
+
   el=document.getElementById(id);
-
//el.style.display='none';
+
   el2=document.getElementById(id2);
 +
 
 +
el.style.display='none';
el2.style.display = 'block';
el2.style.display = 'block';
Line 45: Line 48:
function show(id){
function show(id){
-
   el=document.getElementById(curr);
+
   el=document.getElementById(id);
-
  curr = (curr+id)%5;
+
   el2=document.getElementById(id);
-
   el2=document.getElementById(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