Template:SJTU10-header
From 2010.igem.org
(Difference between revisions)
(7 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
switch (imgid) | switch (imgid) | ||
{ | { | ||
- | case 1:document.mbrightimg.src=" | + | 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" | document.getElementById("mbrightlink").href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#bg" | ||
- | |||
break | break | ||
- | case 2:document.mbrightimg.src=" | + | 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" | document.getElementById("mbrightlink").href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#nav" | ||
- | |||
break | break | ||
- | case 3:document.mbrightimg.src=" | + | case 3:document.getElementById("mbrightimg").src="https://static.igem.org/mediawiki/2010/a/a5/SJTU10-mb-Mbrightimg3.png" |
- | document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/result" | + | document.getElementById("mbrightimg").title="Click to view project results" |
+ | document.getElementById("mbrightlink").href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/result" | ||
break | break | ||
} | } | ||
Line 25: | Line 26: | ||
switch (cellid) | switch (cellid) | ||
{ | { | ||
- | case 1:document.mbleftcellimg1.src="https://static.igem.org/mediawiki/2010/5/5d/SJTU10-mb-Glow1.png" | + | case 1:document.getElementById("mbleftcellimg1").src="https://static.igem.org/mediawiki/2010/5/5d/SJTU10-mb-Glow1.png" |
break | break | ||
- | case 2:document.mbleftcellimg2.src="https://static.igem.org/mediawiki/2010/4/4c/SJTU10-mb-Glow2.png" | + | case 2:document.getElementById("mbleftcellimg2").src="https://static.igem.org/mediawiki/2010/4/4c/SJTU10-mb-Glow2.png" |
break | break | ||
- | case 3:document.mbleftcellimg3.src="https://static.igem.org/mediawiki/2010/0/05/SJTU10-mb-Glow3.png" | + | case 3:document.getElementById("mbleftcellimg3").src="https://static.igem.org/mediawiki/2010/0/05/SJTU10-mb-Glow3.png" |
break | break | ||
} | } | ||
Line 37: | Line 38: | ||
switch (cellid) | switch (cellid) | ||
{ | { | ||
- | case 1:document.mbleftcellimg1.src="https://static.igem.org/mediawiki/2010/6/69/SJTU10-mb-Text1.png" | + | case 1:document.getElementById("mbleftcellimg1").src="https://static.igem.org/mediawiki/2010/6/69/SJTU10-mb-Text1.png" |
break | break | ||
- | case 2:document.mbleftcellimg2.src="https://static.igem.org/mediawiki/2010/e/e2/SJTU10-mb-Text2.png" | + | case 2:document.getElementById("mbleftcellimg2").src="https://static.igem.org/mediawiki/2010/e/e2/SJTU10-mb-Text2.png" |
break | break | ||
- | case 3:document.mbleftcellimg3.src="https://static.igem.org/mediawiki/2010/5/50/SJTU10-mb-Text3.png" | + | case 3:document.getElementById("mbleftcellimg3").src="https://static.igem.org/mediawiki/2010/5/50/SJTU10-mb-Text3.png" |
break | break | ||
} | } | ||
Line 53: | 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 106: | 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.JPG" | + | 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.JPG" | + | 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.JPG" | + | 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 166: | Line 167: | ||
#mbleft | #mbleft | ||
{ | { | ||
+ | float:left; | ||
width:243px; | width:243px; | ||
position:relative; | position:relative; | ||
Line 296: | 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