(17 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
+ | //$=document.getElementById() | ||
+ | |||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#HQ_page").attr('id',''); | $("#HQ_page").attr('id',''); | ||
− | |||
//highlight current page on the menu | //highlight current page on the menu | ||
highlight_current_page_menu(); | highlight_current_page_menu(); | ||
− | / | + | //accessing submenus |
$(".menu_item").click(function(){ | $(".menu_item").click(function(){ | ||
$(".submenu_control_icon", this).toggleClass("open"); | $(".submenu_control_icon", this).toggleClass("open"); | ||
Line 20: | Line 21: | ||
$(".igem_2018_team_mobile_bar").click(function(){ | $(".igem_2018_team_mobile_bar").click(function(){ | ||
$(this).next().toggleClass("displaying_menu"); | $(this).next().toggleClass("displaying_menu"); | ||
− | }); | + | }); |
}); | }); | ||
Line 74: | Line 75: | ||
border-left: 1px solid #c4baba; | border-left: 1px solid #c4baba; | ||
display:block; | display:block; | ||
− | float: | + | float:top; |
height:100vh; | height:100vh; | ||
− | max-width: | + | max-width: auto; |
− | overflow-y: | + | overflow-y: hidden; |
− | overflow-x: | + | overflow-x: auto; |
padding:0px; | padding:0px; | ||
position:fixed; | position:fixed; | ||
Line 366: | Line 367: | ||
.igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size img { | .igem_2018_team_content .igem_2018_team_column_wrapper .column.third_size img { | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
− | width: 100%; | + | //width: 100%; |
} | } | ||
Line 529: | Line 530: | ||
</div> | </div> | ||
− | + | <div class="igem_menu_control_mobile"> | |
− | + | ||
<img id="menu_control_image" src="https://static.igem.org/mediawiki/igem.org/3/3b/Menu_icon.svg"> | <img id="menu_control_image" src="https://static.igem.org/mediawiki/igem.org/3/3b/Menu_icon.svg"> | ||
</div> | </div> | ||
− | + | ||
</div> | </div> | ||
Line 539: | Line 539: | ||
− | < | + | <div class="igem_2018_team_menu displaying_menu"> |
Line 687: | Line 687: | ||
<div class="submenu_item"> | <div class="submenu_item"> | ||
Measurement | Measurement | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</a> | </a> | ||
Line 723: | Line 717: | ||
− | + | </div> | |
− | < | + | |
<!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
Latest revision as of 14:35, 29 June 2018