MediaWiki:Common.js
From Asian Canadian Wiki
Revision as of 15:38, 23 July 2010 by David Mason (Talk | contribs)
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: Clear the cache in Tools → Preferences
/* Any JavaScript here will be loaded for all users on every page load. */ function include(destination) { var e=window.document.createElement('script'); e.setAttribute('type','text/javascript'); e.setAttribute('src',destination); document.getElementsByTagName('head')[0].appendChild(e); } include('/js/jquery-1.3.2.min.js'); include('/js/jquery.easing.1.3.js'); include('/js/jquery.galleryview-1.1.js'); include('/js/jquery.timers-1.1.2.js'); include('/js/loadgallery.js');