Difference between revisions of "Template:Freiburg/MenubarTest"
Line 443: | Line 443: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | |||
+ | var windowWidth = $(window).width(); | ||
$(document).ready(beecode); | $(document).ready(beecode); | ||
Line 449: | Line 451: | ||
function beecode() { | function beecode() { | ||
// make submenus appear // | // make submenus appear // | ||
+ | if (windowWidth > 850) { | ||
+ | console.log('windowWidth ='+windowWidth); | ||
$("#home").hover(function(){ | $("#home").hover(function(){ | ||
$("#team-sub") .hide(); | $("#team-sub") .hide(); |
Revision as of 22:23, 15 September 2015
""