Difference between revisions of "Template:UiOslo Norway"

Line 262: Line 262:
 
                       text-align:justify;
 
                       text-align:justify;
 
                       background-image: url('https://static.igem.org/mediawiki/2014/9/98/UCDavis_projectMenu_Menu.png');
 
                       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-->               
  
  

Revision as of 13:50, 20 August 2015