Template:SJTU10-header
From 2010.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<head> | <head> | ||
<script type="text/Javascript" language="text/Javascript"> | <script type="text/Javascript" language="text/Javascript"> | ||
- | function | + | function switchcellimg(imgid) |
{ | { | ||
- | + | switch (imgid) | |
- | + | { | |
- | + | case 1:document.getElementById("mbrightimg").src="https://static.igem.org/mediawiki/2010/f/f3/SJTU10-mb-Mbrightimg1.png" | |
- | + | document.getElementById("mbrightimg").title="Click to view project background" | |
- | + | document.getElementById("mbrightlink").href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#bg" | |
- | + | break | |
- | + | case 2:document.getElementById("mbrightimg").src="https://static.igem.org/mediawiki/2010/a/a6/SJTU10-mb-mbrightimg2.png" | |
- | + | document.getElementById("mbrightimg").title="Click to view project design" | |
- | + | document.getElementById("mbrightlink").href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#nav" | |
- | + | break | |
- | + | case 3:document.getElementById("mbrightimg").src="https://static.igem.org/mediawiki/2010/a/a5/SJTU10-mb-Mbrightimg3.png" | |
- | + | document.getElementById("mbrightimg").title="Click to view project results" | |
+ | document.getElementById("mbrightlink").href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/result" | ||
+ | break | ||
+ | } | ||
+ | } | ||
+ | function mbleftcellglow(cellid,ismouseover) | ||
+ | { | ||
+ | if(ismouseover) | ||
+ | { | ||
+ | switch (cellid) | ||
+ | { | ||
+ | case 1:document.getElementById("mbleftcellimg1").src="https://static.igem.org/mediawiki/2010/5/5d/SJTU10-mb-Glow1.png" | ||
+ | break | ||
+ | case 2:document.getElementById("mbleftcellimg2").src="https://static.igem.org/mediawiki/2010/4/4c/SJTU10-mb-Glow2.png" | ||
+ | break | ||
+ | case 3:document.getElementById("mbleftcellimg3").src="https://static.igem.org/mediawiki/2010/0/05/SJTU10-mb-Glow3.png" | ||
+ | break | ||
+ | } | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | switch (cellid) | ||
+ | { | ||
+ | case 1:document.getElementById("mbleftcellimg1").src="https://static.igem.org/mediawiki/2010/6/69/SJTU10-mb-Text1.png" | ||
+ | break | ||
+ | case 2:document.getElementById("mbleftcellimg2").src="https://static.igem.org/mediawiki/2010/e/e2/SJTU10-mb-Text2.png" | ||
+ | break | ||
+ | case 3:document.getElementById("mbleftcellimg3").src="https://static.igem.org/mediawiki/2010/5/50/SJTU10-mb-Text3.png" | ||
+ | break | ||
+ | } | ||
+ | } | ||
} | } | ||
function switchavt (avtid, MouseIn) | function switchavt (avtid, MouseIn) | ||
Line 24: | Line 54: | ||
{ | { | ||
case 1: | case 1: | ||
- | document.avt1.src= "https://static.igem.org/mediawiki/2010/2/2e/SJTU10-avt-Clb1.png" | + | document.getElementById("avt1").src="https://static.igem.org/mediawiki/2010/2/2e/SJTU10-avt-Clb1.png" |
break | break | ||
case 2: | case 2: | ||
- | document.avt2.src= "https://static.igem.org/mediawiki/2010/0/07/SJTU10-avt-Dy2.png" | + | document.getElementById("avt2").src="https://static.igem.org/mediawiki/2010/0/07/SJTU10-avt-Dy2.png" |
break | break | ||
case 3: | case 3: | ||
- | document.avt3.src= "https://static.igem.org/mediawiki/2010/f/f0/SJTU10-avt-Hc3.png" | + | document.getElementById("avt3").src="https://static.igem.org/mediawiki/2010/f/f0/SJTU10-avt-Hc3.png" |
break | break | ||
case 4: | case 4: | ||
- | document.avt4.src= "https://static.igem.org/mediawiki/2010/d/d7/SJTU10-avt-Hyp4.png" | + | document.getElementById("avt4").src="https://static.igem.org/mediawiki/2010/d/d7/SJTU10-avt-Hyp4.png" |
break | break | ||
case 5: | case 5: | ||
- | document.avt5.src= "https://static.igem.org/mediawiki/2010/4/41/SJTU10-avt-Lsd5.png" | + | document.getElementById("avt5").src="https://static.igem.org/mediawiki/2010/4/41/SJTU10-avt-Lsd5.png" |
break | break | ||
case 6: | case 6: | ||
- | document.avt6.src= "https://static.igem.org/mediawiki/2010/a/ae/SJTU10-avt-Ly6.png" | + | document.getElementById("avt6").src="https://static.igem.org/mediawiki/2010/a/ae/SJTU10-avt-Ly6.png" |
break | break | ||
case 7: | case 7: | ||
- | document.avt7.src= "https://static.igem.org/mediawiki/2010/3/3e/SJTU10-avt-Mc7.png" | + | document.getElementById("avt7").src="https://static.igem.org/mediawiki/2010/3/3e/SJTU10-avt-Mc7.png" |
break | break | ||
case 8: | case 8: | ||
- | document.avt8.src= "https://static.igem.org/mediawiki/2010/d/d8/SJTU10-avt-Sc8.png" | + | document.getElementById("avt8").src="https://static.igem.org/mediawiki/2010/d/d8/SJTU10-avt-Sc8.png" |
break | break | ||
case 9: | case 9: | ||
- | document.avt9.src= "https://static.igem.org/mediawiki/2010/f/f2/SJTU10-avt-Sz9.png" | + | document.getElementById("avt9").src="https://static.igem.org/mediawiki/2010/f/f2/SJTU10-avt-Sz9.png" |
break | break | ||
case 10: | case 10: | ||
- | document.avt10.src= "https://static.igem.org/mediawiki/2010/3/30/SJTU10-avt-Xwd10.png" | + | document.getElementById("avt10").src="https://static.igem.org/mediawiki/2010/3/30/SJTU10-avt-Xwd10.png" |
break | break | ||
case 11: | case 11: | ||
- | document.avt11.src= "https://static.igem.org/mediawiki/2010/0/0e/SJTU10-avt-Ycc11.png" | + | document.getElementById("avt11").src="https://static.igem.org/mediawiki/2010/0/0e/SJTU10-avt-Ycc11.png" |
break | break | ||
case 12: | case 12: | ||
- | document.avt12.src= "https://static.igem.org/mediawiki/2010/1/19/SJTU10-avt-Zh12.png" | + | document.getElementById("avt12").src="https://static.igem.org/mediawiki/2010/1/19/SJTU10-avt-Zh12.png" |
break | break | ||
case 13: | case 13: | ||
- | document.avt13.src= "https://static.igem.org/mediawiki/2010/1/1c/SJTU10-avt-Zml13.png" | + | document.getElementById("avt13").src="https://static.igem.org/mediawiki/2010/1/1c/SJTU10-avt-Zml13.png" |
break | break | ||
case 14: | case 14: | ||
- | document.avt14.src= "https://static.igem.org/mediawiki/2010/2/20/SJTU10-avt-Zq14.png" | + | document.getElementById("avt14").src="https://static.igem.org/mediawiki/2010/2/20/SJTU10-avt-Zq14.png" |
break | break | ||
case 15: | case 15: | ||
- | document.avt15.src= "https://static.igem.org/mediawiki/2010/c/c6/SJTU10-avt-Zyl15.png" | + | document.getElementById("avt15").src="https://static.igem.org/mediawiki/2010/c/c6/SJTU10-avt-Zyl15.png" |
break | break | ||
default: | default: | ||
Line 77: | Line 107: | ||
{ | { | ||
case 1: | case 1: | ||
- | document.avt1.src= "https://static.igem.org/mediawiki/2010/1/1b/SJTU10-avt-Clb1.jpg" | + | document.getElementById("avt1").src="https://static.igem.org/mediawiki/2010/1/1b/SJTU10-avt-Clb1.jpg" |
break | break | ||
case 2: | case 2: | ||
- | document.avt2.src= "https://static.igem.org/mediawiki/2010/4/45/SJTU10-avt-Dy2.jpg" | + | document.getElementById("avt2").src="https://static.igem.org/mediawiki/2010/4/45/SJTU10-avt-Dy2.jpg" |
break | break | ||
case 3: | case 3: | ||
- | document.avt3.src= "https://static.igem.org/mediawiki/2010/2/26/SJTU10-avt-Hc3.jpg" | + | document.getElementById("avt3").src="https://static.igem.org/mediawiki/2010/2/26/SJTU10-avt-Hc3.jpg" |
break | break | ||
case 4: | case 4: | ||
- | document.avt4.src= "https://static.igem.org/mediawiki/2010/3/37/SJTU10-avt-Hyp4.jpg" | + | document.getElementById("avt4").src="https://static.igem.org/mediawiki/2010/3/37/SJTU10-avt-Hyp4.jpg" |
break | break | ||
case 5: | case 5: | ||
- | document.avt5.src= "https://static.igem.org/mediawiki/2010/1/19/SJTU10-avt-Lsd5. | + | document.getElementById("avt5").src="https://static.igem.org/mediawiki/2010/1/19/SJTU10-avt-Lsd5.JPG" |
break | break | ||
case 6: | case 6: | ||
- | document.avt6.src= "https://static.igem.org/mediawiki/2010/4/4d/SJTU10-avt-Ly6.jpg" | + | document.getElementById("avt6").src="https://static.igem.org/mediawiki/2010/4/4d/SJTU10-avt-Ly6.jpg" |
break | break | ||
case 7: | case 7: | ||
- | document.avt7.src= "https://static.igem.org/mediawiki/2010/8/8d/SJTU10-avt-Mc7.jpg" | + | document.getElementById("avt7").src="https://static.igem.org/mediawiki/2010/8/8d/SJTU10-avt-Mc7.jpg" |
break | break | ||
case 8: | case 8: | ||
- | document.avt8.src= "https://static.igem.org/mediawiki/2010/6/6f/SJTU10-avt-Sc8. | + | document.getElementById("avt8").src="https://static.igem.org/mediawiki/2010/6/6f/SJTU10-avt-Sc8.JPG" |
break | break | ||
case 9: | case 9: | ||
- | document.avt9.src= "https://static.igem.org/mediawiki/2010/f/f9/SJTU10-avt-Sz9.jpg" | + | document.getElementById("avt9").src="https://static.igem.org/mediawiki/2010/f/f9/SJTU10-avt-Sz9.jpg" |
break | break | ||
case 10: | case 10: | ||
- | document.avt10.src= "https://static.igem.org/mediawiki/2010/4/4d/SJTU10-avt-Xwd10.jpg" | + | document.getElementById("avt10").src="https://static.igem.org/mediawiki/2010/4/4d/SJTU10-avt-Xwd10.jpg" |
break | break | ||
case 11: | case 11: | ||
- | document.avt11.src= "https://static.igem.org/mediawiki/2010/3/3d/SJTU10-avt-Ycc11.jpg" | + | document.getElementById("avt11").src="https://static.igem.org/mediawiki/2010/3/3d/SJTU10-avt-Ycc11.jpg" |
break | break | ||
case 12: | case 12: | ||
- | document.avt12.src= "https://static.igem.org/mediawiki/2010/d/d0/SJTU10-avt-Zh12.jpg" | + | document.getElementById("avt12").src="https://static.igem.org/mediawiki/2010/d/d0/SJTU10-avt-Zh12.jpg" |
break | break | ||
case 13: | case 13: | ||
- | document.avt13.src= "https://static.igem.org/mediawiki/2010/7/75/SJTU10-avt-Zml13.jpg" | + | document.getElementById("avt13").src="https://static.igem.org/mediawiki/2010/7/75/SJTU10-avt-Zml13.jpg" |
break | break | ||
case 14: | case 14: | ||
- | document.avt14.src= "https://static.igem.org/mediawiki/2010/3/30/SJTU10-avt-Zq14. | + | document.getElementById("avt14").src="https://static.igem.org/mediawiki/2010/3/30/SJTU10-avt-Zq14.JPG" |
break | break | ||
case 15: | case 15: | ||
- | document.avt15.src= "https://static.igem.org/mediawiki/2010/5/5b/SJTU10-avt-Zyl15.jpg" | + | document.getElementById("avt15").src="https://static.igem.org/mediawiki/2010/5/5b/SJTU10-avt-Zyl15.jpg" |
break | break | ||
default: | default: | ||
Line 129: | Line 159: | ||
<style format="text/css"> | <style format="text/css"> | ||
<!-- | <!-- | ||
+ | #mainbanner | ||
+ | { | ||
+ | width:779px; | ||
+ | height:313px; | ||
+ | background-image:url('https://static.igem.org/mediawiki/2010/6/6e/SJTU10-col1.png'); | ||
+ | } | ||
+ | #mbleft | ||
+ | { | ||
+ | float:left; | ||
+ | width:243px; | ||
+ | position:relative; | ||
+ | left:20px; | ||
+ | top:13px; | ||
+ | } | ||
+ | #mbrightimg | ||
+ | { | ||
+ | position:relative; | ||
+ | float:right; | ||
+ | } | ||
+ | .mbleftcell | ||
+ | { | ||
+ | width:243px; | ||
+ | } | ||
+ | .contentarea table | ||
+ | { | ||
+ | background-color:#010609; | ||
+ | color:#cccccc; | ||
+ | border:0px; | ||
+ | } | ||
+ | .contentarea table td | ||
+ | { | ||
+ | border:1px solid #cccccc; | ||
+ | color:#cccccc; | ||
+ | } | ||
+ | .contentarea table td a | ||
+ | { | ||
+ | color:#77c9ff; | ||
+ | text-deocration:none; | ||
+ | } | ||
+ | .contentarea table td a:hover | ||
+ | { | ||
+ | text-decoration:underline; | ||
+ | } | ||
#memberarea | #memberarea | ||
{ | { | ||
Line 225: | Line 298: | ||
padding-top:20px; | padding-top:20px; | ||
padding-bottom:20px; | padding-bottom:20px; | ||
+ | background-image:url('https://static.igem.org/mediawiki/2010/a/ac/SJTU10-contentareabg.png'); | ||
+ | background-repeat:repeat-y; | ||
} | } | ||
.contentarea h1,h2,h3,h4,h5,h6 | .contentarea h1,h2,h3,h4,h5,h6 |
Latest revision as of 21:58, 27 October 2010