Difference between revisions of "Template:DTU-Denmark"

Line 129: Line 129:
  
 
$(document).ready(function() {
 
$(document).ready(function() {
   if ($(window).width()< 800 ) {
+
   if ($(window).width()< 850 ) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
smallscreennavbar();
 
smallscreennavbar();
Line 149: Line 149:
 
$(window).resize(function() {
 
$(window).resize(function() {
 
   windowsize = $(window).width();
 
   windowsize = $(window).width();
   if (windowsize < 800 ) {
+
   if (windowsize < 850 ) {
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
     //if the window is less than 700 wide then turn on footer as coloumn.
 
smallscreennavbar();
 
smallscreennavbar();

Revision as of 00:42, 13 December 2019