(2 intermediate revisions by the same user not shown) | |||
Line 50: | Line 50: | ||
$('nav').addClass('black'); | $('nav').addClass('black'); | ||
}else { | }else { | ||
− | if($(window).width()> | + | if($(window).width()>1200){ |
$('nav').removeClass('black'); | $('nav').removeClass('black'); | ||
} | } | ||
Line 129: | Line 129: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
− | if ($(window).width()< | + | 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 137: | Line 137: | ||
} | } | ||
− | if ($(window).width() < | + | if ($(window).width() < 1070) { |
//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 149: | Line 149: | ||
$(window).resize(function() { | $(window).resize(function() { | ||
windowsize = $(window).width(); | windowsize = $(window).width(); | ||
− | if (windowsize < | + | 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(); | ||
Line 157: | Line 157: | ||
} | } | ||
− | if (windowsize < | + | if (windowsize < 1070) { |
//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'); |
Latest revision as of 00:46, 13 December 2019