Site Notice |
---|
We have a limited coverage policy. Please check our coverage page to see which articles are allowed. |
MediaWiki:Gadget-Gadget-FlecheHaut.js
Jump to navigation
Jump to search
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
// gotten from http://fr.wikipedia.org/wiki/MediaWiki:Gadget-FlecheHaut.js on Feburary 23rd, 2010. /* Auteur : Marc Mongenet */ function PageHomeArrows() { for (var level = 2; level <= 6; ++level) { var h = document.getElementById('bodyContent').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); } } } addOnloadHook(PageHomeArrows);