|
|
Line 249: |
Line 249: |
| | | |
| /* TEST FOR Home project illustration on HOVER */ | | /* TEST FOR Home project illustration on HOVER */ |
− | .floatboxProjectMenu
| + | |
− | {width:97%;
| + | |
− | height: 250px;
| + | |
− | float:left;
| + | |
− | margin-top: 0px;
| + | |
− | margin-bottom: -15px;
| + | |
− | border-radius: 4px;
| + | |
− | padding: 0px;
| + | |
− | font: sans-serif;
| + | |
− | font-size: 13px;
| + | |
− | color: #212f20;
| + | |
− | text-align:justify;
| + | |
− | background-image: url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png');
| + | |
− | }
| + | |
− | <!--Project Menu Java Start-->
| + | |
− | <script type='text/javascript'>
| + | |
− | $(document).ready(function(){
| + | |
− | $('<img src="https://static.igem.org/mediawiki/2014/e/e6/UCDavis_projectMenu_ProEng.png"/>');
| + | |
− | $('<img src="https://static.igem.org/mediawiki/2014/e/e4/UCDavis_projectMenu_Electro.png"/>');
| + | |
− | $('<img src="https://static.igem.org/mediawiki/2014/6/6a/UCDavis_projectMenu_PStat.png"/>');
| + | |
− | $('<img src="https://static.igem.org/mediawiki/2014/4/42/UCDavis_projectMenu_SProcessing.png"/>');
| + | |
− | $('<img src="https://static.igem.org/mediawiki/2014/6/6c/UCDavis_projectMenu_PolicyPractices.png"/>');
| + | |
− | | + | |
− | $(".polPrac").hover(function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/6/6c/UCDavis_projectMenu_PolicyPractices.png')");
| + | |
− | }, function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png')");
| + | |
− | });
| + | |
− | | + | |
− | $(".ProEng").hover(function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/e/e6/UCDavis_projectMenu_ProEng.png')");
| + | |
− | }, function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png')");
| + | |
− | });
| + | |
− | | + | |
− | $(".Electro").hover(function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/e/e4/UCDavis_projectMenu_Electro.png')");
| + | |
− | }, function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png')");
| + | |
− | });
| + | |
− | | + | |
− | $(".menuPStat").hover(function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/6/6a/UCDavis_projectMenu_PStat.png')");
| + | |
− | }, function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png')");
| + | |
− | });
| + | |
− | | + | |
− | $(".sProcessing").hover(function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/4/42/UCDavis_projectMenu_SProcessing.png')");
| + | |
− | }, function() {
| + | |
− | $(".floatboxProjectMenu").css("background-image","url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png')");
| + | |
− | });
| + | |
− | });
| + | |
− | </script>
| + | |
− | <!--Project Menu Java End-->
| + | |
| | | |
| | | |