User:PaterMcFly/Gadget-Pfeil-hoch.js

/* von: http://fr.wikipedia.org/wiki/MediaWiki:Gadget-FlecheHaut.js */

function PageHomeArrows {       for (var level = 2; level <= 6; ++level) { var h = document.getElementsByTagName("h" + level); for (var i = 0; i < h.length; ++i) { var arrow = document.createElement("a"); arrow.className = "noprint"; arrow.appendChild(document.createTextNode(" ↑")); arrow.href = "javascript:window.scrollTo(0,0); void 0;"; h[i].appendChild(arrow); }       } } $(PageHomeArrows);