„Benutzer:Günther M. Apsel/common.js“ – Versionsunterschied
Inhalt gelöscht Inhalt hinzugefügt
KKeine Bearbeitungszusammenfassung |
K AZ: Die Seite wurde geleert. Markierung: Geleert |
||
Zeile 1: | Zeile 1: | ||
importScript('Benutzer:Günther M. Apsel/filterContributions.js'); //[[Benutzer:TMg/filterContributions.js]] |
|||
jQuery( function( $ ) { |
|||
/* Doppelpunkt in Überschriften */ |
|||
$('#firstHeading > span').each(function(){ |
|||
var inhalt = $(this).html(); |
|||
inhalt = '<span class="namespace">' + inhalt.replace(':',':</span>'); |
|||
$(this).html(inhalt); |
|||
}); |
|||
/* Zusammenfassungszeile */ |
|||
resizeSummary = (function() { |
|||
$('#wpSummary').css({ |
|||
float: 'right', |
|||
width: ($('#mw-content-text').width() - $('#wpSummaryLabel').width() - 45) +'px' |
|||
}); |
|||
}); |
|||
resizeSummary(); |
|||
$(window).resize(function() { |
|||
resizeSummary(); |
|||
}); |
|||
}); |