From Govspedia
Revision as of 08:46, 9 April 2025 by Admin (talk | contribs) (Created page with "→‎footer links: var elFooter = $('#footer-places'); // this order $('#n-wikieditor-toolbar-tool-link').appendTo(elFooter); $('#t-print').appendTo(elFooter); $('#pt-login').appendTo(elFooter); →‎gallery .noprintbreak: $('.gallery.dep').each(function(){ // wrap gallery and it's heading in .noprintbreak $(this).add($(this).prev()).wrapAll('<div class="noprintbreak" />'); });")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* footer links */
var elFooter = $('#footer-places');

// this order
$('#n-wikieditor-toolbar-tool-link').appendTo(elFooter);
$('#t-print').appendTo(elFooter);
$('#pt-login').appendTo(elFooter);

/* gallery .noprintbreak */
$('.gallery.dep').each(function(){
  // wrap gallery and it's heading in .noprintbreak
  $(this).add($(this).prev()).wrapAll('&lt;div class="noprintbreak" /&gt;');
});