Jump to navigation
Jump to search
Content deleted Content added
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" />'); });" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
startup(); |
|||
/* footer links */ |
/* footer links */ |
||
var elFooter = $('#footer-places'); |
var elFooter = $('#footer-places'); |
||
| Line 10: | Line 12: | ||
$('.gallery.dep').each(function(){ |
$('.gallery.dep').each(function(){ |
||
// wrap gallery and it's heading in .noprintbreak |
// wrap gallery and it's heading in .noprintbreak |
||
$(this).add($(this).prev()).wrapAll(' |
$(this).add($(this).prev()).wrapAll('<div class="noprintbreak" />'); |
||
}); |
}); |
||
Latest revision as of 18:24, 19 August 2025
startup();
/* 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" />');
});