Difference between revisions of "Sitemap"

Line 179: Line 179:
  
 
//this variable will have the page name with only the necessary information for being displayed
 
//this variable will have the page name with only the necessary information for being displayed
var page_name_display = page_name;
+
var page_name_display = page_name.substring(page_name.lastIndexOf("/")+1, page_name.length);
page_name_display= page_name_display.substring(page_name_display.lastIndexOf("/")+1, page_name_display.length);
+
 
+
 
+
 
var page_sublist_id = "Sitemap0" ;
 
var page_sublist_id = "Sitemap0" ;
 
var append_page_to;  
 
var append_page_to;  
Line 219: Line 216:
 
append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/"));
 
append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/"));
 
 
 +
 +
console.log(append_page_to, page_name, page_name_display, page_sublist_id);
 
append_page(append_page_to, page_name, page_name_display, page_sublist_id);  
 
append_page(append_page_to, page_name, page_name_display, page_sublist_id);  
 
 
Line 233: Line 232:
 
append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/"));
 
append_page_to = "#Sitemap0"+ page_name.substring(0, page_name.indexOf("/"));
 
 
 +
 +
console.log(append_page_to, page_name, page_name_display, page_sublist_id);
 
append_page(append_page_to, page_name, page_name_display, page_sublist_id);  
 
append_page(append_page_to, page_name, page_name_display, page_sublist_id);  
 
 

Revision as of 15:05, 21 April 2017

MENU

SITEMAP

iGEM is a multifaceted competition with many different components. Our websites have a lot of information, from requirements of the competition to tips on how make fundraising easier. This page is here to help you navigate our site and make sure you have access to all of its content.

LIST
TEAMS
HQ

TEAMS