Template:Use Popups: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(Template to use popups.)
 
m (amandabook.js)
 
Line 1: Line 1:
<noinclude>Put this template in your user javascript file, probably at [[Special:MyPage/monobook.js]], by entering <nowiki>{{Use Popups}}</nowiki> there. See the [http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups popups documentation] for more information.
<noinclude>Put this template in your user javascript file, probably at [[Special:MyPage/amandabook.js]], by entering <nowiki>{{Use Popups}}</nowiki> there. See the [http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups popups documentation] for more information.


The rest of this template is the javascript that will go in your user file.
The rest of this template is the javascript that will go in your user file.

Latest revision as of 19:53, 14 June 2007

Put this template in your user javascript file, probably at Special:MyPage/amandabook.js, by entering {{Use Popups}} there. See the popups documentation for more information.

The rest of this template is the javascript that will go in your user file.


function siteArticlePath(){ return 'index.php'; } function siteBotInterfacePath(){ return ; }

function hookEvent(hookName, hookFunct) {

       document.onload = hookFunct;

if (window.addEventListener) { window.addEventListener(hookName, hookFunct, false); } else if (window.attachEvent) { window.attachEvent("on" + hookName, hookFunct); } }

//popupsUseQueryInterface = false;

document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');