From ICIHelp8.2
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $(document).ready( function() { var tree = $('#wikitext-sidebar'); $('#p-logo').after( tree.html...") |
|||
Line 5: | Line 5: | ||
tree.remove(); | tree.remove(); | ||
}); | }); | ||
+ | |||
+ | $(document).ready(function(){var t="",e="";if($("#c_topPage").length){var o=$("#c_topPage");t=o.html(),o.remove()}if($("#c_bottomPage").length){var m=$("#c_bottomPage");e=m.html(),m.remove()}var a=$("#mw-content-text").html();$("#mw-content-text").html(t+a+e)}); |
Revision as of 10:03, 12 April 2016
/* Any JavaScript here will be loaded for all users on every page load. */ $(document).ready( function() { var tree = $('#wikitext-sidebar'); $('#p-logo').after( tree.html() ); tree.remove(); }); $(document).ready(function(){var t="",e="";if($("#c_topPage").length){var o=$("#c_topPage");t=o.html(),o.remove()}if($("#c_bottomPage").length){var m=$("#c_bottomPage");e=m.html(),m.remove()}var a=$("#mw-content-text").html();$("#mw-content-text").html(t+a+e)});