(6 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'); | ||
Line 974: | Line 974: | ||
<ul id='menu'> | <ul id='menu'> | ||
<li class="dropdown"> | <li class="dropdown"> | ||
− | <a href="https://2019.igem.org/Team:DTU-Denmark/Awards" class="dropbtn"><img src="https://static.igem.org/mediawiki/2019/c/c0/T--DTU-Denmark--medallogo.svg" alt="Awards"> | + | <a href="https://2019.igem.org/Team:DTU-Denmark/Awards" class="dropbtn"><img src="https://static.igem.org/mediawiki/2019/c/c0/T--DTU-Denmark--medallogo.svg" style="height:30px;" alt="Awards"></a> |
</li> | </li> | ||
<li class="dropdown"> | <li class="dropdown"> |
Latest revision as of 00:46, 13 December 2019