Difference between revisions of "Template:Freiburg/Menubar"
Line 441: | Line 441: | ||
− | + | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function() { | $(function() { | ||
$("document").ready(function(){ | $("document").ready(function(){ | ||
+ | if ($(window).width() > 850) { | ||
// make submenus appear // | // make submenus appear // | ||
$("#home").hover(function(){ | $("#home").hover(function(){ | ||
Line 545: | Line 546: | ||
$("#notebook-sub") .hide(); | $("#notebook-sub") .hide(); | ||
}); | }); | ||
+ | } | ||
}); | }); | ||
}) | }) |
Revision as of 21:49, 15 September 2015