Difference between revisions of "Template:Marburg"

Line 11: Line 11:
  
 
</style>
 
</style>
 
 
 
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
  
  
Line 34: Line 29:
  
 
$("#HQ_page").attr('id','');
 
$("#HQ_page").attr('id','');
 
  
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
 
if ( wgPageName.substring( 0,  8) == "Template")  {  // if the page is a template it displays the full name in a single line
Line 51: Line 45:
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
}
 
 
 
  
 
$('#accordion').find('.menu_item').click(function(){
 
$('#accordion').find('.menu_item').click(function(){
Line 86: Line 77:
  
 
});
 
});
 
 
 
  
 
</script>
 
</script>
 
  
 
</html>
 
</html>

Revision as of 21:56, 17 October 2016