Template:SJTU10-header
From 2010.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<head> | <head> | ||
<script type="text/Javascript" language="text/Javascript"> | <script type="text/Javascript" language="text/Javascript"> | ||
- | function | + | function switchcellimg(imgid) |
{ | { | ||
- | + | switchcase (imgid) | |
- | + | { | |
- | + | case 1:document.mbrightimg.src="" | |
- | + | document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#bg" | |
- | + | break | |
- | + | case 2:document.mbrightimg.src="" | |
- | + | document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/project#nav" | |
- | + | break | |
- | + | case 3:document.mbrightimg.src="" | |
- | + | document.mbrightlink.href="https://2010.igem.org/Team:SJTU-BioX-Shanghai/result" | |
- | + | break | |
- | + | } | |
+ | } | ||
+ | function mbleftcellglow(cellid,ismouseover) | ||
+ | { | ||
+ | if(ismouseover) | ||
+ | { | ||
+ | switchcase (cellid) | ||
+ | { | ||
+ | case 1:document.mbleftcellimg1.src="https://static.igem.org/mediawiki/2010/5/5d/SJTU10-mb-Glow1.png" | ||
+ | break | ||
+ | case 2:document.mbleftcellimg2.src="https://static.igem.org/mediawiki/2010/4/4c/SJTU10-mb-Glow2.png" | ||
+ | break | ||
+ | case 3:document.mbleftcellimg3.src="https://static.igem.org/mediawiki/2010/0/05/SJTU10-mb-Glow3.png" | ||
+ | break | ||
+ | } | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | switchcase (cellid) | ||
+ | { | ||
+ | case 1:document.mbleftcellimg1.src="https://static.igem.org/mediawiki/2010/6/69/SJTU10-mb-Text1.png" | ||
+ | break | ||
+ | case 2:document.mbleftcellimg2.src="https://static.igem.org/mediawiki/2010/e/e2/SJTU10-mb-Text2.png" | ||
+ | break | ||
+ | case 3:document.mbleftcellimg3.src="https://static.igem.org/mediawiki/2010/5/50/SJTU10-mb-Text3.png" | ||
+ | break | ||
+ | } | ||
+ | } | ||
} | } | ||
function switchavt (avtid, MouseIn) | function switchavt (avtid, MouseIn) | ||
Line 129: | Line 156: | ||
<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 | ||
+ | { | ||
+ | width:243px; | ||
+ | position:relative; | ||
+ | left:20px; | ||
+ | top:13px; | ||
+ | } | ||
+ | #mbrightimg | ||
+ | { | ||
+ | position:relative; | ||
+ | float:right; | ||
+ | right:16px; | ||
+ | top:12px; | ||
+ | width:499px; | ||
+ | height:282px; | ||
+ | } | ||
+ | .mbleftcell | ||
+ | { | ||
+ | width:243px; | ||
+ | } | ||
.contentarea table | .contentarea table | ||
{ | { |
Revision as of 18:22, 26 October 2010