Difference between revisions of "Dev/Sitemap"

Line 88: Line 88:
  
 
case 0:  // this might be a hub or an unassigned page
 
case 0:  // this might be a hub or an unassigned page
append_tier_one ( page_name );  
+
append_tier_one ( page_name, page_link );  
 
break;  
 
break;  
  
Line 147: Line 147:
  
  
function append_tier_one ( page_name ) {
+
function append_tier_one ( page_name, page_link ) {
 
console.log("page_name");
 
console.log("page_name");
 
var no_underscores_name = page_name.replace( /_/g , " ");
 
var no_underscores_name = page_name.replace( /_/g , " ");
$("#organized_pages").append("<li> <a  href='"+page_name+"'>"+no_underscores_name+"</a> <ul  id='main_"+page_name+"' ></ul> </li>");
+
$("#organized_pages").append("<li> <a  href='"+page_link"'>"+no_underscores_name+"</a> <ul  id='main_"+page_name+"' ></ul> </li>");
  
 
}
 
}

Revision as of 20:05, 24 November 2016

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.