MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus Aloran Kompendium
Zeile 6: | Zeile 6: | ||
$( document ).ready(function(){ | $( document ).ready(function(){ | ||
− | $(" | + | $(".mw-headline").each(function(index){ |
$( this).after(htmlString); | $( this).after(htmlString); | ||
}); | }); | ||
}); | }); |
Version vom 13. August 2017, 23:04 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */ console.log('Das Aloran Kompendium'); var htmlString = "<a href=\"#top\"><img src=\"images/6/67/Icon-Anchor.png\" align=\"middle\" height=\"15\" width=\"15\"></a>"; $( document ).ready(function(){ $(".mw-headline").each(function(index){ $( this).after(htmlString); }); });