Team:Davidson-MissouriW/Team/Pictures

From 2010.igem.org

(Difference between revisions)
Line 17: Line 17:
<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('-1')" />
-
<img src="https://static.igem.org/mediawiki/2010/b/b7/Davidson-MissouriWSteph2.png" width=250  id="0" style="display:none" />
+
<img src="https://static.igem.org/mediawiki/2010/b/b7/Davidson-MissouriWSteph2.png" width=250  id="pic0" style="display:none" />
-
<img src="https://static.igem.org/mediawiki/igem.org/3/33/DavMWDC_Visit.jpg"  id="1" style="display:none" />
+
<img src="https://static.igem.org/mediawiki/igem.org/3/33/DavMWDC_Visit.jpg"  id="pic1" style="display:none" />
-
<img src="https://static.igem.org/mediawiki/igem.org/3/32/DavMWMW_Visit.jpg"  id="2" style="display:none" />
+
<img src="https://static.igem.org/mediawiki/igem.org/3/32/DavMWMW_Visit.jpg"  id="pic2" style="display:none" />
-
<img src="https://static.igem.org/mediawiki/igem.org/d/d2/DavMWBridget.jpg"  id="3" style="display:none" />
+
<img src="https://static.igem.org/mediawiki/igem.org/d/d2/DavMWBridget.jpg"  id="pic3" style="display:none" />
-
<img src="https://static.igem.org/mediawiki/igem.org/5/5f/DavMWCurtiss.jpg"  id="4" 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('1')"  />
<img src="http://www.marqueeapparel.com/main/Right-Arrow.png"  id="next" width=50 onclick="show('1')"  />
</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('pic')"/>
-
<img src="https://static.igem.org/mediawiki/igem.org/3/33/DavMWDC_Visit.jpg" height=100 width=62 id="mini1" onclick="setCurr('1')" />
+
<img src="https://static.igem.org/mediawiki/igem.org/3/33/DavMWDC_Visit.jpg" height=100 width=62 id="mini1" onclick="setCurr('pic')" />
-
<img src="https://static.igem.org/mediawiki/igem.org/3/32/DavMWMW_Visit.jpg" height=100 width=62 id="mini2" onclick="setCurr('2')" />
+
<img src="https://static.igem.org/mediawiki/igem.org/3/32/DavMWMW_Visit.jpg" height=100 width=62 id="mini2" onclick="setCurr('pic')" />
-
<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('pic')"/>
-
<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('pic')"/>
<script type="text/javascript">
<script type="text/javascript">
-
//curr=0;
+
curr=0;
function setCurr(ncurr) {
function setCurr(ncurr) {
-
   //el=document.getElementById('0');
+
  id='pic';
-
   el2=document.getElementById(ncurr);
+
   el=document.getElementById(id+curr);
-
//curr=ncurr;
+
   el2=document.getElementById(id+ncurr);
-
//el.style.display='none';
+
curr=ncurr;
 +
el.style.display='none';
el2.style.display = 'block';
el2.style.display = 'block';
Line 45: Line 46:
function show(id){
function show(id){
-
   el=document.getElementById(curr);
+
   el=document.getElementById(id + curr);
   curr = (curr+id)%5;
   curr = (curr+id)%5;
-
   el2=document.getElementById(curr);
+
   el2=document.getElementById(id +curr);
// window.location.hash="Students";
// window.location.hash="Students";

Revision as of 05:33, 27 October 2010