Team:Manchester/Notebooktest2
From 2013.igem.org
(Difference between revisions)
Abramov denn (Talk | contribs) |
Abramov denn (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{:Team:Manchester/layout/noheader}} | {{:Team:Manchester/layout/noheader}} | ||
- | |||
<html> | <html> | ||
Line 14: | Line 13: | ||
document.getElementById(nr).style.display = displayNew; | document.getElementById(nr).style.display = displayNew; | ||
} | } | ||
+ | <script type='text/javascript'> | ||
+ | function hoverLink1() | ||
+ | { | ||
+ | $("#block #link1").hover(function() { | ||
+ | $("#block #image1").toggleClass("expand"); | ||
+ | }); | ||
+ | $("#block #link1").mouseenter(function() { | ||
+ | $("#block #image1").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #link1").mouseleave(function() { | ||
+ | $("#block #image1").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverImage1() | ||
+ | { | ||
+ | $("#block #image1").mouseenter(function() { | ||
+ | $("#block #image1").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #image1").mouseleave(function() { | ||
+ | $("#block #image1").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverLink2() | ||
+ | { | ||
+ | $("#block #link2").hover(function() { | ||
+ | $("#block #image2").toggleClass("expand"); | ||
+ | }); | ||
+ | $("#block #link2").mouseenter(function() { | ||
+ | $("#block #image2").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #link2").mouseleave(function() { | ||
+ | $("#block #image2").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverImage2() | ||
+ | { | ||
+ | $("#block #image2").mouseenter(function() { | ||
+ | $("#block #image2").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #image2").mouseleave(function() { | ||
+ | $("#block #image2").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverLink3() | ||
+ | { | ||
+ | $("#block #link3").hover(function() { | ||
+ | $("#block #image3").toggleClass("expand"); | ||
+ | }); | ||
+ | $("#block #link3").mouseenter(function() { | ||
+ | $("#block #image3").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #link3").mouseleave(function() { | ||
+ | $("#block #image3").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverImage3() | ||
+ | { | ||
+ | $("#block #image3").mouseenter(function() { | ||
+ | $("#block #image3").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #image3").mouseleave(function() { | ||
+ | $("#block #image3").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverLink4() | ||
+ | { | ||
+ | $("#block #link4").hover(function() { | ||
+ | $("#block #image4").toggleClass("expand"); | ||
+ | }); | ||
+ | $("#block #link4").mouseenter(function() { | ||
+ | $("#block #image4").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #link4").mouseleave(function() { | ||
+ | $("#block #image4").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverImage4() | ||
+ | { | ||
+ | $("#block #image4").mouseenter(function() { | ||
+ | $("#block #image4").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #image4").mouseleave(function() { | ||
+ | $("#block #image4").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverLink5() | ||
+ | { | ||
+ | $("#block #link5").hover(function() { | ||
+ | $("#block #image5").toggleClass("expand"); | ||
+ | }); | ||
+ | $("#block #link5").mouseenter(function() { | ||
+ | $("#block #image5").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #link5").mouseleave(function() { | ||
+ | $("#block #image5").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverImage5() | ||
+ | { | ||
+ | $("#block #image5").mouseenter(function() { | ||
+ | $("#block #image5").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #image5").mouseleave(function() { | ||
+ | $("#block #image5").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | |||
+ | function hoverLink6() | ||
+ | { | ||
+ | $("#block #link6").hover(function() { | ||
+ | $("#block #image6").toggleClass("expand"); | ||
+ | }); | ||
+ | $("#block #link6").mouseenter(function() { | ||
+ | $("#block #image6").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #link6").mouseleave(function() { | ||
+ | $("#block #image6").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function hoverImage6() | ||
+ | { | ||
+ | $("#block #image6").mouseenter(function() { | ||
+ | $("#block #image6").css({marginLeft: "40px"}); | ||
+ | }); | ||
+ | $("#block #image6").mouseleave(function() { | ||
+ | $("#block #image6").css({marginLeft: "50px"}); | ||
+ | }); | ||
+ | } | ||
+ | |||
</script> | </script> | ||
Line 94: | Line 233: | ||
-moz-box-shadow: 0px 0px 5px 0px rgba(76,0,130,1)); | -moz-box-shadow: 0px 0px 5px 0px rgba(76,0,130,1)); | ||
box-shadow: 0px 0px 5px 0px rgba(76,0,130,1); | box-shadow: 0px 0px 5px 0px rgba(76,0,130,1); | ||
+ | } | ||
+ | |||
+ | .container | ||
+ | { | ||
+ | height:90px; | ||
+ | width:980px; | ||
+ | margin:0 auto; | ||
+ | background-color:#F2F2F2; | ||
+ | position:absolute; | ||
+ | top:130px; | ||
+ | left:0; | ||
+ | z-index:100; | ||
+ | |||
+ | } | ||
+ | |||
+ | #block | ||
+ | { | ||
+ | float:left; | ||
+ | width:150px; | ||
+ | margin:0 6px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #block a | ||
+ | { | ||
+ | display:block; | ||
+ | text-decoration: none; | ||
+ | background-color: #660099; | ||
+ | color:white; | ||
+ | font-size: 17px; | ||
+ | font-family: Trebuchet MS; | ||
+ | font-weight: bold; | ||
+ | border-radius: 5px; | ||
+ | width: 140px; | ||
+ | margin:0 auto; | ||
+ | text-align: center; | ||
+ | padding: 3px; | ||
+ | color:#F2F2F2; | ||
+ | border:1px solid #4C0082; | ||
+ | |||
+ | transition-duration:0.1s; | ||
+ | transition-timing-function:linear; | ||
+ | } | ||
+ | |||
+ | #block img | ||
+ | { | ||
+ | transition-duration:0.1s; | ||
+ | transition-timing-function:linear; | ||
+ | margin:0 50px; | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | #block img:hover | ||
+ | { | ||
+ | width:65px; | ||
+ | height:65px; | ||
+ | } | ||
+ | |||
+ | #block .list | ||
+ | { | ||
+ | margin:0; | ||
+ | } | ||
+ | |||
+ | #block .list li | ||
+ | { | ||
+ | display:block; | ||
+ | list-style:none; | ||
+ | } | ||
+ | |||
+ | #block .list .submenu, .submenu1, .submenu2 | ||
+ | { | ||
+ | position:relative; | ||
+ | display:none; | ||
+ | clear: both; | ||
+ | margin:0; | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #block .list .submenu li | ||
+ | { | ||
+ | list-style:none; | ||
+ | display: block; | ||
+ | margin:0; | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | #block .list .submenu li a | ||
+ | { | ||
+ | clear:both; | ||
+ | display:block; | ||
+ | border:1px solid #4C0082; | ||
+ | margin:0 auto; | ||
+ | width:130px; | ||
+ | font-size: 13px; | ||
+ | font-family: Trebuchet MS; | ||
+ | font-weight: bold; | ||
+ | color:#f2f2f2; | ||
+ | } | ||
+ | |||
+ | #block .list li .submenu li:hover .submenu1 a | ||
+ | { | ||
+ | clear:both; | ||
+ | display:block; | ||
+ | border:1px solid #4C0082; | ||
+ | margin:0 auto; | ||
+ | width:100px; | ||
+ | font-size: 12px; | ||
+ | font-family: Trebuchet MS; | ||
+ | font-weight: bold; | ||
+ | color:black; | ||
+ | background:#ffcc33; | ||
+ | } | ||
+ | |||
+ | #block .list .submenu a:hover | ||
+ | { | ||
+ | display:block; | ||
+ | background:#A901DB; | ||
+ | } | ||
+ | |||
+ | #block .list li:hover .submenu | ||
+ | { | ||
+ | display:block; | ||
+ | } | ||
+ | |||
+ | .submenu li:hover .submenu1 | ||
+ | { | ||
+ | display:block; | ||
+ | position:absolute; | ||
+ | left:145px; | ||
+ | top:0; | ||
+ | } | ||
+ | |||
+ | .submenu li:hover .submenu2 | ||
+ | { | ||
+ | display:block; | ||
+ | position:absolute; | ||
+ | left:145px; | ||
+ | top:28px; | ||
+ | } | ||
+ | |||
+ | #block .list li .submenu li:hover .submenu2 a | ||
+ | { | ||
+ | clear:both; | ||
+ | display:block; | ||
+ | border:1px solid #4C0082; | ||
+ | margin:0 auto; | ||
+ | width:150px; | ||
+ | font-size: 12px; | ||
+ | font-family: Trebuchet MS; | ||
+ | font-weight: bold; | ||
+ | color:black; | ||
+ | background:#FFCC33; | ||
+ | } | ||
+ | |||
+ | .expand | ||
+ | { | ||
+ | width:65px; | ||
+ | height:65px; | ||
} | } | ||
Line 205: | Line 502: | ||
<div class="global"> | <div class="global"> | ||
+ | <div class="container"> | ||
+ | <div id="block"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/7/74/Home.gif" width="50" height="50" id="image1"/> | ||
+ | <a href="#" id="link1">Home</a> | ||
+ | </div> | ||
+ | |||
+ | <div id="block"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/e/e6/Group.gif" width="50" height="50" id="image2"/> | ||
+ | <ul class="list"> | ||
+ | <li><a href="#" id="link2">About</a> | ||
+ | <ul class="submenu" id="sub1"> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/OurTeamtest" id="link2">Our Team</a></li> | ||
+ | <li><a href="https://igem.org/Team.cgi?year=2013" id="link2">Team Profile</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | <div id="block"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/a/a8/Project.gif" width="50" height="50" id="image3"/> | ||
+ | <ul class="list"> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/Projecttest" id="link3">Project</a> | ||
+ | <ul class="submenu"> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/Aimtest2" id="link3">Aim</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/Notebooktest" id="link3">Notebook</a></li> | ||
+ | <li><a href="#" id="link3">Lab Book</a></li> | ||
+ | <li><a href="#" id="link3">Contributions</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/Safetytest" id="link3">Safety</a></li> | ||
+ | <li><a href="#" id="link3">Judging</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/Attributionstest" id="link3">Attributions</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | <div id="block"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/a/a8/Project.gif" width="50" height="50" id="image6"/> | ||
+ | <ul class="list"> | ||
+ | <li><a href="#" id="link6">Modelling</a> | ||
+ | <ul class="submenu"> | ||
+ | <li><a href="#" id="link6">Fatty Acid Production</a></li> | ||
+ | <li><a href="#" id="link6">Parameter Estimation</a></li> | ||
+ | <li><a href="#" id="link6">Modelling Collaboration</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | <div id="block"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/5/5b/Outreach.gif" width="50" height="50" id="image4"/> | ||
+ | <ul class="list"> | ||
+ | <li><a href="https://2013.igem.org/Team:Manchester/HumanPracticetest" id="link4">Human Practices</a> | ||
+ | <ul class="submenu" id="sub3"> | ||
+ | <li><a href="#" id="link4">Public Outreach</a> | ||
+ | <ul class="submenu1" > | ||
+ | <a href="https://2013.igem.org/Team:Manchester/stars" id="link4">Science Stars</a></li> | ||
+ | <a href="https://2013.igem.org/Team:Manchester/openday" id="link4">Open day</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#" id="link4">Ethics</a> | ||
+ | <ul class="submenu2" id="sub3"> | ||
+ | <a href="#" id="link4">Environmental Impact</a></li> | ||
+ | <a href="#" id="link4">Economical Impact</a></li> | ||
+ | <a href="#" id="link4">Impact Management</a></li> | ||
+ | <a href="#" id="link4">Conclusion</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#" id="link4">Business Plan</a></li> | ||
+ | <li><a href="#" id="link4">Knowledge Deficit Assumption</a></li> | ||
+ | <li><a href="#" id="link4">Conferences and Discussions</a></li> | ||
+ | <li><a href="#" id="link4">Social Media</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | |||
+ | <div id="block"> | ||
+ | <img src="https://static.igem.org/mediawiki/2013/5/5b/Outreach.gif" width="50" height="50" id="image5"/> | ||
+ | <a href="#" id="link5">Sponsorship</a> | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
<div class="wrapper" > | <div class="wrapper" > | ||
<ul class="menu"> | <ul class="menu"> |
Revision as of 02:00, 3 August 2013