Line 65: | Line 65: | ||
$('ul.mw-allpages-chunk li').each(function () { | $('ul.mw-allpages-chunk li').each(function () { | ||
− | |||
//sort each page | //sort each page | ||
console.log( $(this).text(), $(this).html() ); | console.log( $(this).text(), $(this).html() ); | ||
− | + | sort_pages( $(this).text(), $(this).html() ); | |
− | + | ||
}); | }); | ||
+ | }); | ||
− | |||
}); | }); | ||
Line 161: | Line 159: | ||
var clean_name = page_name.replace( /\//g , "-"); | var clean_name = page_name.replace( /\//g , "-"); | ||
var no_underscores_name = page_name.replace( /_/g , " "); | var no_underscores_name = page_name.replace( /_/g , " "); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 19:58, 24 November 2016
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.
All pages
HQ pages
Redirects
All pages
- "+page_name +" ");
return true;
}
// is this a page from a team ?
else if ( page_name.substring(0, 4 ) == "Team") {
return true; // page is from a team - we will figure out what to do later
}
// is it a redirect?
else if( page_link.indexOf("mw-redirect") >= 0) {
$("#redirect").append("
- "+ page_link+" " ); return true; } // this page is not a special case, let's sort it! else { return false; } } function append_to_not_sorted (page_name) { $("#not_sorted").append("
- "+page_name +" "); } function append_tier_one ( page_name ) { var no_underscores_name = page_name.replace( /_/g , " "); $("#organized_pages").append("
- "+no_underscores_name+"
- "+no_underscores_name.substring( page_name.indexOf("/")+1, page_name.length )+"
- "+no_underscores_name.substring( page_name.lastIndexOf("/")+1, page_name.length )+" "); //for list $("#main_"+clean_name.substring(0, clean_name.lastIndexOf("-") ) ).append("
- "+no_underscores_name.substring( page_name.lastIndexOf("/")+1, page_name.length )+" "); } switch ( wgUserName) { case "Sifuentes anita": case "Vinoo": case "THaddock": case "Meagan": $(".HQ_info").delay( 800 ).fadeIn('slow'); break; default: $(".HQ_info").hide(); break; }