Difference between revisions of "Template:Freiburg/MenubarTest"
Line 157: | Line 157: | ||
/* ==== End classes for icons ==== */ | /* ==== End classes for icons ==== */ | ||
+ | @media screen and (min-width: 850px){ | ||
/* ==== Begin running chip ==== */ | /* ==== Begin running chip ==== */ | ||
Line 436: | Line 437: | ||
/* ==== End Settings Submenu Level 2 ==== */ | /* ==== End Settings Submenu Level 2 ==== */ | ||
+ | } /* end media query*/ | ||
+ | |||
+ | @media screen and (max-width: 849px){ | ||
+ | |||
+ | #header{ | ||
+ | top: -9000px; | ||
+ | opacity: 0; | ||
+ | } | ||
+ | |||
+ | } | ||
− | |||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | + | <!------------- BEGIN: jQuery -------------> | |
− | + | <script type="text/javascript"> | |
− | + | $(function() { | |
− | + | $("document").ready(function(){ | |
− | + | ||
// make submenus appear // | // make submenus appear // | ||
− | |||
$("#home").hover(function(){ | $("#home").hover(function(){ | ||
$("#team-sub") .hide(); | $("#team-sub") .hide(); | ||
Line 550: | Line 555: | ||
$("#notebook-sub") .hide(); | $("#notebook-sub") .hide(); | ||
}); | }); | ||
− | + | }); | |
− | + | }) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</script> | </script> | ||
Revision as of 22:45, 15 September 2015