User:PaterMcFly/monobook.js

// User:Lupin/popups.js - please include this line // importScript('User:Lupin/popups.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);