Team:SDU-Denmark/core/header

From 2013.igem.org

(Difference between revisions)
Line 25: Line 25:
   }
   }
-
    $(document).ready(function() {
+
  $(document).ready(function() {
-
        $('.left-menu').children().first().children().last().css('color', '');  
+
    $('.left-menu').children().first().children().last().css('color', '');  
-
        $('.left-menu').children().first().children().last().css('font-size', '10px');  
+
    $('.left-menu').children().first().children().last().css('font-size', '10px');  
-
        $('#menubar').bind("mouseover", function(){
+
    $('#menubar').bind("mouseover", function(){
-
            $(this).css("background", "transparent");
+
        $(this).css("background", "transparent");
-
            $('#menubar').css("background", "transparent");   
+
        $('#menubar').css("background", "transparent");   
-
        });
+
    });    
-
       
+
    $(window).scroll(sticky_relocate);
-
 
+
    $('#btnMenu').hover(
-
        $(window).scroll(sticky_relocate);
+
      function () {
-
    });
+
        $('.menuPopup').show();
 +
      },
 +
      function () {
 +
        $('.menuPopup').hide();
 +
      }
 +
    );
 +
  });
</script>
</script>
Line 70: Line 76:
         <div class="topMargin">
         <div class="topMargin">
<div class="menuPopup">
<div class="menuPopup">
-
                        Hello
+
  Hello
-
                      </div>
+
</div>
</div>
</div>
         <div class="ContentHeader">     
         <div class="ContentHeader">     

Revision as of 19:54, 10 August 2013