Template:Navpop/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Robert Badgett No edit summary |
imported>Jitse Niesen (→Usage: it's Pinkwich5.js and monobook.js - AARRGGHHH!!!) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
This template, when placed in your file | This template, when placed in your custom JavaScript file, will create convenient popups (as described at [[CZ:Enhancing_your_editing_with_javascript_extensions#Navigation_popups|Navigation popups]]). | ||
== | ==Usage== | ||
# Open [[Special:Mypage/ | To enable nagivation popups, follow these steps: | ||
# Place "<nowiki>{{ | # 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 "<nowiki>{{subst:navpop}}</nowiki>" in the file and save. | |||
# Refresh your browser's cache when done: | # 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); | ::'''Mozilla / Firefox / Safari:''' hold down ''Shift'' while clicking ''Reload'', or press ''Ctrl-Shift-R'' (''Cmd-Shift-R'' on Apple Mac); |
Latest revision as of 09:59, 26 June 2008
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.