Difference between revisions of "Team:TU Darmstadt/Templates/SideBarMenu"

Line 92: Line 92:
 
         max-height: 999px;
 
         max-height: 999px;
 
         opacity: 1;
 
         opacity: 1;
 +
}
 +
 +
.preload * {
 +
  -webkit-transition: none !important;
 +
  -moz-transition: none !important;
 +
  -ms-transition: none !important;
 +
  -o-transition: none !important;
 
}
 
}
  
Line 98: Line 105:
  
 
<!-- Start of menu -->
 
<!-- Start of menu -->
<div id="menuContainer">
+
<div class="preload" id="menuContainer">
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
 
<ul>
 
<ul>
Line 214: Line 221:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
 +
$(window).load(function() {
 +
    $("#menuContainer").removeClass("preload");
 +
});
  
 
$(function () {
 
$(function () {

Revision as of 10:15, 18 September 2015