Difference between revisions of "Template:Freiburg/Menubar"
Line 446: | Line 446: | ||
$(document).ready(beecode); | $(document).ready(beecode); | ||
$(window).on('resize', beecode); | $(window).on('resize', beecode); | ||
+ | |||
+ | var windowWidth = $(window).width(); | ||
function beecode() { | function beecode() { | ||
// make submenus appear // | // make submenus appear // | ||
− | |||
if (windowWidth > 850) { | if (windowWidth > 850) { | ||
console.log('windowWidth ='+windowWidth); | console.log('windowWidth ='+windowWidth); |
Revision as of 22:18, 15 September 2015
""