m (test footer bar) |
m (test footer bar) |
||
Line 459: | Line 459: | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
<script> | <script> | ||
− | |||
// This is the jquery part of your template. Try not modify any of this code since it makes your menu work. | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. | ||
− | |||
$(document).ready(function() { | $(document).ready(function() { | ||
$("#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 487: | Line 481: | ||
$("#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 519: | Line 510: | ||
$(".menu_item").show(); | $(".menu_item").show(); | ||
}); | }); | ||
− | |||
− | |||
}); | }); | ||
+ | </script> | ||
+ | <div class="content_wrapper"></div> | ||
− | |||
− | |||
− | |||
<div class="fixedBar"></div> | <div class="fixedBar"></div> | ||
</html> | </html> |
Revision as of 16:56, 18 October 2016