User:Toranosuke/tooltip.js

// From http://www.wowwiki.com/User:Pcj/tooltip.js /* See Help:Tooltips

Calls, in order: // default setting to turn tooltips on var tooltipsOn = true;
 * User:Toranosuke/core.js
 * User:Toranosuke/itemtooltip.js
 * User:Toranosuke/npctooltip.js
 * User:Toranosuke/questtooltip.js
 * User:Toranosuke/coords.js

// individual tooltip controls, defaulted to on var itemTooltips = true; var npcTooltips = true; var questTooltips = true; var coordTooltips = true;

function loadJS(jn) { document.write(''); }

function performTooltips { if (tooltipsOn) { if (itemTooltips || npcTooltips || questTooltips || coordTooltips) loadJS("User:Toranosuke/core.js"); if (itemTooltips) loadJS("User:Toranosuke/itemtooltip.js"); if (npcTooltips) loadJS("User:Toranosuke/npctooltip.js"); if (questTooltips) loadJS("User:Toranosuke/questtooltip.js"); if (coordTooltips) loadJS("User:Toranosuke/coords.js"); } }

addOnloadHook(performTooltips); /*