Template:Navpop: Difference between revisions
Jump to navigation
Jump to search
imported>Derek Harkness (Back to basics. Take things in smaller steps this time.) |
imported>Robert Badgett No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
// [[User: | // [[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. | + 'http://en.citizendium.org/wiki?title=User:Jitse_Niesen/popups.js' | ||
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | ||
popupUseQueryInterface=false; | popupUseQueryInterface=false; | ||
<noinclude> | |||
{{Template:Navpop/doc}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here. --> | |||
</noinclude> |
Latest revision as of 19: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.