Difference between revisions of "Sitemap"

Line 120: Line 120:
  
 
</div>
 
</div>
 
  
 
<script>
 
<script>
Line 301: Line 300:
 
var found_where_to_append = false;
 
var found_where_to_append = false;
 
 
console.log(page_name);
+
 
console.log((append_page_to.match(/0/g) || []).length);
+
console.log(append_page_to);
+
 
 
 
//if it has somewhere to be appended  
 
//if it has somewhere to be appended  
Line 313: Line 310:
 
 
 
for( i=0; i < (append_page_to.match(/0/g) || []).length ; i++){
 
for( i=0; i < (append_page_to.match(/0/g) || []).length ; i++){
+
console.log(append_page_to);
+
//trim to try to find a parent to append to
 
append_page_to =  append_page_to.substring(0, append_page_to.lastIndexOf("0"));
 
append_page_to =  append_page_to.substring(0, append_page_to.lastIndexOf("0"));
console.log(append_page_to);
+
//if it has somewhere to append
+
//check if it has somewhere to append, if so break the loop
 
if($(append_page_to).length > 0) {
 
if($(append_page_to).length > 0) {
 
found_where_to_append = true;
 
found_where_to_append = true;
i = 999;
+
i = 999;
 
}
 
}
 
 

Revision as of 19:56, 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

HQ

This is the view for iGEM HQ

Wiki in numbers

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

HQ pages

Redirects

Not Sorted