Line 26: | Line 26: | ||
} | } | ||
− | .view_format_content {display:none; } | + | .expand_collapse, .view_format_content {display:none; } |
.view_format_content.selected_content {display:block; } | .view_format_content.selected_content {display:block; } | ||
+ | |||
+ | |||
Line 149: | Line 151: | ||
<!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | <!----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------> | ||
− | |||
<script> | <script> | ||
Line 156: | Line 157: | ||
//"Sitemap" is part of the ids to make sure it is appended on the page and not on the menu or anywhere else | //"Sitemap" is part of the ids to make sure it is appended on the page and not on the menu or anywhere else | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
$(document).ready(function() { | $(document).ready(function() { | ||
Line 168: | Line 163: | ||
check_user_priviliges(); | check_user_priviliges(); | ||
+ | // call the function to load the page list | ||
+ | load_page_list("https://2017.igem.org/Special:AllPages"); | ||
+ | |||
//switching between views | //switching between views | ||
Line 179: | Line 177: | ||
}); | }); | ||
− | |||
− | |||
Line 199: | Line 195: | ||
case "THaddock": | case "THaddock": | ||
case "Meagan": | case "Meagan": | ||
− | $(".HQ_info"). | + | $(".HQ_info").show(); |
break; | break; | ||
Line 212: | Line 208: | ||
− | + | ||
function load_page_list ( page_url ) { | function load_page_list ( page_url ) { | ||
Line 230: | Line 226: | ||
} | } | ||
+ | //content is done loading! | ||
else { | else { | ||
content_is_done_loading(); | content_is_done_loading(); | ||
Line 237: | Line 234: | ||
} | } | ||
+ | |||
///////////////////////////////////////////////////////////////////////////////// | ///////////////////////////////////////////////////////////////////////////////// | ||
− | |||
− | |||
function content_is_done_loading(){ | function content_is_done_loading(){ | ||
+ | |||
+ | $(".expand_collapse").show(); | ||
//expand and collapse for team pages can be used now | //expand and collapse for team pages can be used now | ||
Line 253: | Line 251: | ||
$("#redirect_pages_count").append($("#redirect li").length); | $("#redirect_pages_count").append($("#redirect li").length); | ||
} | } | ||
− | |||
− | |||
Line 281: | Line 277: | ||
if ( is_it_a_special_page ( page_name, page_link ) == false ) { | if ( is_it_a_special_page ( page_name, page_link ) == false ) { | ||
− | // check how many "tiers" ( / ) the page name has in order to place it | + | // check how many "tiers" ( / ) the page name has in order to place it appropiately |
switch ( (page_name.match( /\//g ) || []).length ) { | switch ( (page_name.match( /\//g ) || []).length ) { | ||
Line 290: | Line 286: | ||
id_to_append_to = "#team_list"; | id_to_append_to = "#team_list"; | ||
page_sublist_id = page_sublist_id + page_name.replace( /:/g , "0"); | page_sublist_id = page_sublist_id + page_name.replace( /:/g , "0"); | ||
− | + | append_page(id_to_append_to, page_name, page_name_display, page_sublist_id); | |
} | } | ||
else { | else { |
Revision as of 16:12, 24 April 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
LIST
TEAMS
HQ
This is the view for iGEM HQ
Total pages | Wiki pages | HQ pages | Redirect pages | Not sorted | Team pages |
---|---|---|---|---|---|