Template:UFMG Brazil/gheader

From 2014.igem.org

(Difference between revisions)
Line 30: Line 30:
$( document ).ready(function() {
$( document ).ready(function() {
     $('#igemmenulogo').click(function(){
     $('#igemmenulogo').click(function(){
-
         console.log($('#igemmenulogo').css("height"));
+
         toggleMenu();
 +
    });
 +
});
 +
function toggleMenu(){
         if($('#top-section').css("height") == "25px"){
         if($('#top-section').css("height") == "25px"){
             $('#top-section').css("height", "10px");
             $('#top-section').css("height", "10px");
Line 41: Line 44:
             $('.right-menu').show();
             $('.right-menu').show();
         }
         }
-
    });
+
}
-
});
+
toggleMenu();
</script>
</script>
</head>
</head>

Revision as of 05:23, 14 October 2014

Home