Template:OUC-China.CommonCSS

From 2011.igem.org

(Difference between revisions)
Line 42: Line 42:
<style>
<style>
#mainnav{
#mainnav{
-
                 margin-top:125px;
+
                 top:125px;
height: 230px;
height: 230px;
width: 840px;
width: 840px;
Line 148: Line 148:
strVar += " <\/div>";
strVar += " <\/div>";
strVar += " <div id=\"mainnavdrop\">";
strVar += " <div id=\"mainnavdrop\">";
-
strVar += " <ul id=\"homenav\" class=\"navmenus\" tag=\"Home.jpg\">";
+
strVar += " <ul id=\"homenav\" class=\"navmenus\" tag=\"https://static.igem.org/mediawiki/2011/d/d9/OUC-China.home1.jpg\">";
strVar += " <!--<li><a href=\"\/Team:OUC-China\">Home<\/a><\/li>-->";
strVar += " <!--<li><a href=\"\/Team:OUC-China\">Home<\/a><\/li>-->";
strVar += " <\/ul>";
strVar += " <\/ul>";
-
strVar += " <ul id=\"teamnav\" class=\"navmenus\" tag=\"team.jpg\">";
+
strVar += " <ul id=\"teamnav\" class=\"navmenus\" tag=\"https://static.igem.org/mediawiki/2011/c/c0/OUC-China.team.jpg\">";
strVar += " <li><a href=\"\/Team:OUC-China\/Team\/TeamIntro\">IGEMers introduction<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Team\/TeamIntro\">IGEMers introduction<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Team\/Instructors\">Instructor and Adviser<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Team\/Instructors\">Instructor and Adviser<\/a><\/li>";
Line 159: Line 159:
strVar += " <li><a href=\"\/Team:OUC-China\/Team\/Photos\">Photo gallery<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Team\/Photos\">Photo gallery<\/a><\/li>";
strVar += " <\/ul>";
strVar += " <\/ul>";
-
strVar += " <ul id=\"projectnav\" class=\"navmenus\" tag=\"projects.jpg\">";
+
strVar += " <ul id=\"projectnav\" class=\"navmenus\" tag=\"https://static.igem.org/mediawiki/2011/4/41/OUC-China.project.jpg\">";
strVar += " <li><a href=\"\/Team:OUC-China\/Project\/storm\">Brain storming<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Project\/storm\">Brain storming<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Project\/Abstract\">Abstract<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Project\/Abstract\">Abstract<\/a><\/li>";
Line 166: Line 166:
strVar += " <li><a href=\"\/Team:OUC-China\/Project\/PooSb\"> Performance on stage of Synthetic biology<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Project\/PooSb\"> Performance on stage of Synthetic biology<\/a><\/li>";
strVar += " <\/ul>";
strVar += " <\/ul>";
-
strVar += " <ul id=\"resultnav\" class=\"navmenus\" tag=\"result.jpg\">";
+
strVar += " <ul id=\"resultnav\" class=\"navmenus\" tag=\"https://static.igem.org/mediawiki/2011/7/78/OUC-China.result.jpg\">";
strVar += " <li><a href=\"\/Team:OUC-China\/Result\/Materials\">Materials<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Result\/Materials\">Materials<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Result\/Puf2011d\">Part used from 2011 distribution<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Result\/Puf2011d\">Part used from 2011 distribution<\/a><\/li>";
Line 177: Line 177:
strVar += " <li><a href=\"\/Team:OUC-China\/Result\/Judging\">Judging form<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Result\/Judging\">Judging form<\/a><\/li>";
strVar += " <\/ul>";
strVar += " <\/ul>";
-
strVar += " <ul id=\"safetynav\" class=\"navmenus\" tag=\"Consideration.jpg\">";
+
strVar += " <ul id=\"safetynav\" class=\"navmenus\" tag=\"https://static.igem.org/mediawiki/2011/4/4b/OUC-China.consideration.jpg\">";
strVar += " <li><a href=\"\/Team:OUC-China\/Safety\/Consideration\">Human practice<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Safety\/Consideration\">Human practice<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Safety\">Safety<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Safety\">Safety<\/a><\/li>";
strVar += " <\/ul>";
strVar += " <\/ul>";
-
strVar += " <ul id=\"othernav\" class=\"navmenus\" tag=\"futurework.jpg\">";
+
strVar += " <ul id=\"othernav\" class=\"navmenus\" tag=\"https://static.igem.org/mediawiki/2011/1/12/OUC-China.future_work.jpg\">";
strVar += " <li><a href=\"\/Team:OUC-China\/Futurework\/Fa\">Foundational advance<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Futurework\/Fa\">Foundational advance<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Futurework\/Newapp\">New application of synthetic biology<\/a><\/li>";
strVar += " <li><a href=\"\/Team:OUC-China\/Futurework\/Newapp\">New application of synthetic biology<\/a><\/li>";
Line 196: Line 196:
var hideSubNav = function(){
var hideSubNav = function(){
$(".navmenus").stop(true,true).animate({opacity:0}, 200);
$(".navmenus").stop(true,true).animate({opacity:0}, 200);
-
$("#mainnav").css("background","url(Home.jpg) top center no-repeat");
+
$("#mainnav").css("background","url(https://static.igem.org/mediawiki/2011/d/d9/OUC-China.home1.jpg) top center no-repeat");
}
}

Revision as of 03:13, 5 October 2011