Template:Navpop: Difference between revisions
Jump to navigation
Jump to search
imported>Robert Badgett No edit summary |
imported>Robert Badgett No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
// [[User:Jitse_Niesen/popups.js]] is derived from http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js | // [[User:Jitse_Niesen/popups.js]] is derived from http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js<br> | ||
document.write('<script type="text/javascript" src="' | document.write('<script type="text/javascript" src="' | ||
+ 'http://en.citizendium.org/wiki?title=User:Jitse_Niesen/popups.js' | + 'http://en.citizendium.org/wiki?title=User:Jitse_Niesen/popups.js' | ||
Line 5: | Line 6: | ||
popupUseQueryInterface=false; | popupUseQueryInterface=false; | ||
<noinclude> | |||
{{Template:Navpop/doc}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here. --> | |||
</noinclude> |
Latest revision as of 20:27, 23 June 2008
// User:Jitse_Niesen/popups.js is derived from http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js
document.write('<script type="text/javascript" src="'
+ 'http://en.citizendium.org/wiki?title=User:Jitse_Niesen/popups.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
popupUseQueryInterface=false;
Purpose
This template, when placed in your custom JavaScript file, will create convenient popups (as described at Navigation popups).
Usage
To enable nagivation popups, follow these steps:
- Find out which skin you are using. Most people on Citizendium use Pinkwich5, while Wikipedia uses Monobook.
- Open the corresponding page for editing.
- If you use the Pinkwich5 skin, edit Special:Mypage/Pinkwich5.js
- If you use the Monobook skin, edit Special:Mypage/monobook.js
- Place "{{subst:navpop}}" in the file and save.
- Refresh your browser's cache when done:
- Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac);
- Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5;
- Konqueror: simply click the Reload button, or press F5;
- Opera users may need to completely clear their cache in Tools→Preferences.
Acknowledgment
This template and associated files are derived from Wikipedia's http://en.wikipedia.org/wiki/Template:Navpop.