Difference between revisions of "Dev/Sitemap"

Line 304: Line 304:
 
}
 
}
 
 
id_to_append_to = check_for_special_characters(id_to_append_to);
+
//clean from special chars for the variables using in appending
page_sublist_id = check_for_special_characters(page_sublist_id);
+
id_to_append_to = id_to_append_to.replace(/[&\/\\#,+()$~%.'":*?<>{}]/g,'_');
 +
page_sublist_id = page_sublist_id.replace(/[&\/\\#,+()$~%.'":*?<>{}]/g,'_');
 
 
 
$(id_to_append_to).append("<li><a href='http://"+site_name+"/"+page_name+"'>"+page_name_display+"</a>  <ol id='"+page_sublist_id+"' ></ol></li>");
 
$(id_to_append_to).append("<li><a href='http://"+site_name+"/"+page_name+"'>"+page_name_display+"</a>  <ol id='"+page_sublist_id+"' ></ol></li>");
Line 320: Line 321:
 
function append_main_team_page (id_to_append_to, page_name, page_name_display, page_sublist_id ) {
 
function append_main_team_page (id_to_append_to, page_name, page_name_display, page_sublist_id ) {
  
page_name = check_for_special_characters(page_name);
+
 
page_sublist_id = check_for_special_characters(page_sublist_id);
+
 
 
 
 
Line 333: Line 333:
  
  
function check_for_special_characters(string_to_check){
 
 
 
string_to_check = string_to_check.replace("&", "and");
 
 
return string_to_check;
 
 
}
 
  
  

Revision as of 18:10, 19 May 2017

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.

PAGE LIST
TEAM PAGES
HQ

TEAMS

Loading all team pages...

HQ

This is the view for iGEM HQ

Total pages Wiki pages HQ pages Redirect pages Not sorted Team pages

...

...

...

...

...

...

HQ pages

Redirects

Not Sorted