Difference between revisions of "Template:DTU-Denmark"

Line 50: Line 50:
 
           $('nav').addClass('black');
 
           $('nav').addClass('black');
 
         }else {
 
         }else {
if($(window).width()>1006){
+
if($(window).width()>890){
 
           $('nav').removeClass('black');
 
           $('nav').removeClass('black');
 
}
 
}
Line 137: Line 137:
 
}
 
}
  
if ($(window).width() < 1006) {
+
if ($(window).width() < 890) {
 
     //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.
 
$('nav').addClass('black');
 
$('nav').addClass('black');
Line 157: Line 157:
 
}
 
}
  
   if (windowsize < 940) {
+
   if (windowsize < 890) {
 
     //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.
 
$('nav').addClass('black');
 
$('nav').addClass('black');

Revision as of 00:41, 13 December 2019