User:Soxra/monaco.js

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
< User:Soxra
Revision as of 07:28, 23 February 2011 by Soxra (talk | contribs) (Created page with "function runOnloadHook() { importScriptURI("http://code.jquery.com/jquery-latest.min.js"); } window.onload = function() { $(document).ready(function() { $("#p-Navigation ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
function runOnloadHook() {
  importScriptURI("http://code.jquery.com/jquery-latest.min.js");
}
window.onload = function() {
  $(document).ready(function() {
    $("#p-Navigation .pBody a, #p-Interaction .pBody a, #p-search .pBody a, #p-tb .pBody a, #p-lang .pBody a").each(function() {
      var $me = $(this);
      $me.parent().click(function(){
        window.location = $me.attr("href");
      }).attr("style","cursor:hand;cursor:pointer");
    });
  });
};