Template:SJTU10-header
From 2010.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
} | } | ||
} | } | ||
+ | } | ||
+ | function switchavt(avtid, MouseIn) | ||
+ | { | ||
+ | if(MouseIn) | ||
+ | { | ||
+ | switch (avtid) | ||
+ | { | ||
+ | case 1: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/2/2e/SJTU10-avt-Clb1.png" | ||
+ | break | ||
+ | case 2: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/0/07/SJTU10-avt-Dy2.png" | ||
+ | break | ||
+ | case 3: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/f/f0/SJTU10-avt-Hc3.png" | ||
+ | break | ||
+ | case 4: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/d/d7/SJTU10-avt-Hyp4.png" | ||
+ | break | ||
+ | case 5: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/4/41/SJTU10-avt-Lsd5.png" | ||
+ | break | ||
+ | case 6: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/a/ae/SJTU10-avt-Ly6.png" | ||
+ | break | ||
+ | case 7: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/3/3e/SJTU10-avt-Mc7.png" | ||
+ | break | ||
+ | case 8: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/d/d8/SJTU10-avt-Sc8.png" | ||
+ | break | ||
+ | case 9: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/f/f2/SJTU10-avt-Sz9.png" | ||
+ | break | ||
+ | case 10: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/3/30/SJTU10-avt-Xwd10.png" | ||
+ | break | ||
+ | case 11: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/0/0e/SJTU10-avt-Ycc11.png" | ||
+ | break | ||
+ | case 12: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/1/19/SJTU10-avt-Zh12.png" | ||
+ | break | ||
+ | case 13: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/1/1c/SJTU10-avt-Zml13.png" | ||
+ | break | ||
+ | case 14: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/2/20/SJTU10-avt-Zq14.png" | ||
+ | break | ||
+ | case 15: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/c/c6/SJTU10-avt-Zyl15.png" | ||
+ | break | ||
+ | default: | ||
+ | alert("Error!") | ||
+ | } | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | switch (avtid) | ||
+ | { | ||
+ | case 1: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/1/1b/SJTU10-avt-Clb1.jpg" | ||
+ | break | ||
+ | case 2: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/4/45/SJTU10-avt-Dy2.jpg" | ||
+ | break | ||
+ | case 3: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/2/26/SJTU10-avt-Hc3.jpg" | ||
+ | break | ||
+ | case 4: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/3/37/SJTU10-avt-Hyp4.jpg" | ||
+ | break | ||
+ | case 5: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/1/19/SJTU10-avt-Lsd5.JPG" | ||
+ | break | ||
+ | case 6: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/4/4d/SJTU10-avt-Ly6.jpg" | ||
+ | break | ||
+ | case 7: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/8/8d/SJTU10-avt-Mc7.jpg" | ||
+ | break | ||
+ | case 8: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/6/6f/SJTU10-avt-Sc8.JPG" | ||
+ | break | ||
+ | case 9: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/f/f9/SJTU10-avt-Sz9.jpg" | ||
+ | break | ||
+ | case 10: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/4/4d/SJTU10-avt-Xwd10.jpg" | ||
+ | break | ||
+ | case 11: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/3/3d/SJTU10-avt-Ycc11.jpg" | ||
+ | break | ||
+ | case 12: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/d/d0/SJTU10-avt-Zh12.jpg" | ||
+ | break | ||
+ | case 13: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/7/75/SJTU10-avt-Zml13.jpg" | ||
+ | break | ||
+ | case 14: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/3/30/SJTU10-avt-Zq14.JPG" | ||
+ | break | ||
+ | case 15: | ||
+ | this.src="https://static.igem.org/mediawiki/2010/5/5b/SJTU10-avt-Zyl15.jpg" | ||
+ | break | ||
+ | default: | ||
+ | alert("Error!") | ||
+ | } | ||
+ | } | ||
} | } | ||
</script> | </script> | ||
<style format="text/css"> | <style format="text/css"> | ||
<!-- | <!-- | ||
+ | #memberarea | ||
+ | { | ||
+ | width:777px; | ||
+ | height:245px; | ||
+ | background-image:url("https://static.igem.org/mediawiki/2010/c/c4/SJTU10-col2-memberarea-bg.png"); | ||
+ | } | ||
+ | #memberavt | ||
+ | { | ||
+ | float:left; | ||
+ | position:relative; | ||
+ | left:34px; | ||
+ | top:18px; | ||
+ | width:350px; | ||
+ | height:210px; | ||
+ | } | ||
+ | .avatar | ||
+ | { | ||
+ | width:70px; | ||
+ | height:70px; | ||
+ | float:left; | ||
+ | } | ||
.navlist li | .navlist li | ||
{ | { |
Revision as of 10:54, 25 October 2010