Team:OUC-China/Team Instructor
From 2014.igem.org
(Difference between revisions)
Line 173: | Line 173: | ||
dl{ line-height:25px;border-bottom:#999 1px dashed;} | dl{ line-height:25px;border-bottom:#999 1px dashed;} | ||
</style> | </style> | ||
- | <div class = "header"> <img class = "igemLogo" src=" | + | <div class = "header"> <img class = "igemLogo" src="https://static.igem.org/mediawiki/2014/c/c6/OUC-China_Content_IGEM.png"> |
<div class = "waveUp"></div> | <div class = "waveUp"></div> | ||
<div class = "waveDown"></div> | <div class = "waveDown"></div> | ||
- | <div style="margin:auto; width:500px;"><img src=" | + | <div style="margin:auto; width:500px;"><img src="https://static.igem.org/mediawiki/2014/a/a1/OUC_China_Content_Title.png" ></div> <img id = "objLeft" class = "objLeft" src="https://static.igem.org/mediawiki/2014/4/41/OUC-China_Index_Plasmid1.png"><img class = "objRight" src="https://static.igem.org/mediawiki/2014/e/e6/OUC-China_Index_Plasmid2.png"> |
<div class = "nav"> | <div class = "nav"> | ||
<ul> | <ul> | ||
Line 200: | Line 200: | ||
}); | }); | ||
$(".nav>ul li").mouseover(function(){ | $(".nav>ul li").mouseover(function(){ | ||
- | if($(this).offset().left < $("#objLeft").offset().left) document.getElementById("objLeft").src = " | + | if($(this).offset().left < $("#objLeft").offset().left) document.getElementById("objLeft").src = "https://static.igem.org/mediawiki/2014/8/8c/ObjLeft2.png"; |
- | else document.getElementById("objLeft").src = " | + | else document.getElementById("objLeft").src = "https://static.igem.org/mediawiki/2014/4/41/OUC-China_Index_Plasmid1.png"; |
$("#objLeft").stop(false).animate({left:$(this).offset().left-50},800); | $("#objLeft").stop(false).animate({left:$(this).offset().left-50},800); | ||
}); | }); | ||
$(".nav>ul").mouseout(function(){ | $(".nav>ul").mouseout(function(){ | ||
- | document.getElementById("objLeft").src = " | + | document.getElementById("objLeft").src = "https://static.igem.org/mediawiki/2014/8/8c/ObjLeft2.png"; |
$("#objLeft").stop(false).animate({left:originalLeft},800,function(){ | $("#objLeft").stop(false).animate({left:originalLeft},800,function(){ | ||
- | document.getElementById("objLeft").src = " | + | document.getElementById("objLeft").src = "https://static.igem.org/mediawiki/2014/4/41/OUC-China_Index_Plasmid1.png"; |
}); | }); | ||
}); | }); | ||
Line 273: | Line 273: | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div class = "footer"> <img id = "top" src=" | + | <div class = "footer"> <img id = "top" src="https://static.igem.org/mediawiki/2014/b/b6/ToTop.png"/> |
<script> | <script> | ||
$("#top").click(function(){ | $("#top").click(function(){ |
Revision as of 11:51, 16 October 2014