Difference between revisions of "Template:Main2017"

Line 28: Line 28:
 
// the full url is summed to the div id that holds that specific menu
 
// the full url is summed to the div id that holds that specific menu
  
var page_url_and_id = "https://2017.igem.org/HQ:Menu" +"#"+ div_to_load;
+
//var page_url_and_id = ;
  
$( "#load_menu_here" ).load( page_url_and_id, function() {
+
$( "#load_menu_here" ).load( "https://2017.igem.org/HQ:Menu" +"#"+ div_to_load , function() {
 
 
 
//executes menu functionality ( accordion and toggles) once the menu is loaded
 
//executes menu functionality ( accordion and toggles) once the menu is loaded

Revision as of 16:23, 14 November 2016