Site Notice
  • We have a limited coverage policy. Please check our coverage page to see which articles are allowed.
  • Please no leaked content less than one year old, or videos of leaks.
  • Content copied verbatim from other websites or wikis will be removed.

MediaWiki:Gadget-Gadget-FlecheHaut.js

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Revision as of 17:00, 9 December 2012 by Tacopill (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);