Difference between revisions of "Sitemap"

Line 177: Line 177:
  
 
<div class="clear"></div>
 
<div class="clear"></div>
 +
 +
 +
<div class="threeColumns ">
 +
<div class="collapse_control" > <h3>  <div class="collapse_icon"></div>  HQ pages and Dev</h3>  </div>
 +
 +
<div class="collapse_content" >
 +
 +
<div id="HQ_Hub"></div>
 +
 +
<div id="Dev_Hub"></div>
 +
</div>
 +
 +
</div>
 +
  
  
Line 204: Line 218:
  
 
</div>
 
</div>
 +
  
  
Line 252: Line 267:
 
// Wiki counters
 
// Wiki counters
 
$(".total_number_of_pages").html( $("#complete_list_of_pages").children().children().length );
 
$(".total_number_of_pages").html( $("#complete_list_of_pages").children().children().length );
 
//$(".total_number_of_our_wiki_pages").html(  $("#Community_Hub").length + $("#Tracks_Hub").children().length  + $("#Requirements_pages").children().length + $("#Judging_pages").children().length + $("#Safety_pages").children().length  + $("#Resources_pages").children().length  + $("#About_pages").children().length + $("#Sponsors_pages").children().length + $("#Human_pages").children().length  + $("#Giant_Jamboree_pages").children().length +9 );
 
  
 
$(".total_number_of_hq_pages").html( $("#Team_pages").children().length + $("#HQ_pages").children().length + $("#Dev_pages").children().length );
 
$(".total_number_of_hq_pages").html( $("#Team_pages").children().length + $("#HQ_pages").children().length + $("#Dev_pages").children().length );
Line 280: Line 293:
 
function place_page_in_list ( page_name , page_link ) {
 
function place_page_in_list ( page_name , page_link ) {
  
 +
var general_counter=0;
 
for ( w=0; w< page_name.length; w++) {  //go through the array
 
for ( w=0; w< page_name.length; w++) {  //go through the array
 
 
Line 305: Line 319:
 
break;
 
break;
 
}
 
}
 +
 +
general_counter++;
 
}
 
}
  
 
}
 
}
  
 +
$(".total_number_of_our_wiki_pages").html(general_counter);
 
}
 
}
  
Line 336: Line 353:
  
 
for ( i =0; i< categories_for_links.length; i++) {  
 
for ( i =0; i< categories_for_links.length; i++) {  
 
 
 
// if the page name has that specific category  
 
// if the page name has that specific category  
 +
 
if  ( page_name.substring( 0 ,categories_for_links[i].length) == categories_for_links[i] ) {
 
if  ( page_name.substring( 0 ,categories_for_links[i].length) == categories_for_links[i] ) {
 
$("#"+categories_for_links[i]+"_Hub").append("<div id='"+page_name+"_wrapper'><a  href='"+page_name+"'>"+page_name + " Hub</a> <ol  class='turquoise_link' id='"+page_name+"' ></ol> </div>");
 
$("#"+categories_for_links[i]+"_Hub").append("<div id='"+page_name+"_wrapper'><a  href='"+page_name+"'>"+page_name + " Hub</a> <ol  class='turquoise_link' id='"+page_name+"' ></ol> </div>");
 
was_page_placed = true;
 
was_page_placed = true;
 
}
 
}
 +
 +
 
}
 
}
  

Revision as of 19:40, 3 March 2016

Total number of pages 2016 Wiki HQ Not sorted Redirect

Menu items

Lorem ipsum

About

Requirements

Competition

Judging

Giant Jamboree

Resources

Teams and Community

HQ pages and Dev

Not sorted

Redirect

All Pages