Template:Navpop: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert Badgett
No edit summary
imported>Robert Badgett
No edit summary
 
Line 6: 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 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:

  1. Find out which skin you are using. Most people on Citizendium use Pinkwich5, while Wikipedia uses Monobook.
  2. Open the corresponding page for editing.
  3. Place "{{subst:navpop}}" in the file and save.
  4. 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.