Line 19: | Line 19: | ||
$( "#load_menu_here" ).load("https://2017.igem.org/HQ:Menu #Main_menu", function() { | $( "#load_menu_here" ).load("https://2017.igem.org/HQ:Menu #Main_menu", function() { | ||
+ | menu_functionality(); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | //menu functionality | ||
+ | function menu_functionality() { | ||
$('#accordion').find('.menu_item').click(function(){ | $('#accordion').find('.menu_item').click(function(){ | ||
Line 41: | Line 52: | ||
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
$(".collapsable_menu_control").click(function() { | $(".collapsable_menu_control").click(function() { |
Revision as of 15:43, 14 November 2016