Difference between revisions of "Sitemap"

Line 122: Line 122:
  
 
<!---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 +
  
  
Line 164: Line 165:
 
var next_page_url = $link_page.find('.mw-allpages-nav a:contains("Next page")').attr('href');
 
var next_page_url = $link_page.find('.mw-allpages-nav a:contains("Next page")').attr('href');
  
//if (next_page_url) {
+
if (next_page_url) {
// load_page_list(next_page_url);
+
load_page_list(next_page_url);
//}
+
}
  
 
});
 
});
Line 206: Line 207:
 
break;  
 
break;  
  
 
 
 
 
case 1:
 
case 1:
Line 217: Line 217:
 
page_sublist_id = page_sublist_id.replace( /:/g , "0");
 
page_sublist_id = page_sublist_id.replace( /:/g , "0");
 
}
 
}
+
 
 
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);  
 
 
 
break;
 
break;
+
+
 
case 2:
 
case 2:
+
if(page_name.substring(0,4) == "Team"){
+
page_name = page_name.replace( /:/g , "0");
+
}
+
 
+
 
//page_sublist_id =  page_sublist_id + page_name.replace( /\//g , "0");  
 
//page_sublist_id =  page_sublist_id + page_name.replace( /\//g , "0");  
 
append_page_to = "#" + page_sublist_id + page_name.substring(0, page_name.lastIndexOf("/"));
 
append_page_to = "#" + page_sublist_id + page_name.substring(0, page_name.lastIndexOf("/"));
 
append_page_to = append_page_to.replace( /\//g , "0");
 
append_page_to = append_page_to.replace( /\//g , "0");
 
+
page_sublist_id = page_sublist_id + page_name.replace( /\//g , "0");
console.log(append_page_to, page_name, page_name_display, page_sublist_id);
+
 +
if(page_name.substring(0,4) == "Team"){
 +
append_page_to = append_page_to.replace( /:/g , "0");
 +
page_sublist_id = page_sublist_id.replace( /:/g , "0");
 +
}
 +
 
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:34, 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