3086
Comment:
|
3215
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
<<SeeSaw(section="toc", show=True, toshow="(<<show>> Contents)", tohide="(<<hide>> Contents)")>> {{{#!wiki seesaw/toc/show <<TableOfContents>> }}} |
|
Line 43: | Line 52: |
* Including list | * Including lists |
Line 50: | Line 61: |
'''Dyalog Section'''}}} | '''Dyalog Section''' (show <<SeeSaw(section="example3", toshow="APLX")>> section) |
Line 52: | Line 63: |
{{{#!wiki seesaw/example3/hide '''APLX Section'''}}} |
|
Line 55: | Line 64: |
<<SeeSaw(section="example3", toshow="(Show <<APLX>> section)", tohide="(Show <<Dyalog>> section)", bg="#FFFFDD")>> | |
Line 57: | Line 65: |
{{{#!wiki seesaw/example3/show | |
Line 59: | Line 66: |
This is shown initially. It is hidden and the "APLX" section is displayed when "Show Dyalog section" is clicked. | This is shown initially. It is hidden and the "APLX" section is displayed when "Show APLX section" is clicked. |
Line 63: | Line 70: |
'''APLX Section''' (Show <<SeeSaw(section="example3", toshow="Dyalog")>> section) |
|
Line 66: | Line 77: |
Some filling text. |
SeeSaw Macro
Contents
SeeSaw is a MoinMoin macro written by Jim Wight.
Overview
In case that a particular topic is very complex, you might have to provide quite a large amount of information. On the Web, chances are that a user will stop reading any information at all if she gets flooded with too many pieces of information.
A common technique to deal with this problem is to provide only essential information but to allow the user to "show" more information usually represented by a short description.
That's what the MoinMoin macro SeeSaw is designed to do.
Applications
There are three main applications for this purpose:
- (Show (and later may be hide) a string of characters within a particular paragraph.
- Switch between to different version of a paragraph, for example a "UNIX" and a "Windows" version.
- Reveal a (potentially large amount of) text after a click on a kind of short description or header
The first application works "Inline", the other two on a "Section".
These three applications are demonstrated underneath.
Inline Usage
This line contains some »» text. Click on the link to show it.
Section Usage
Reveal Text
Show the details
Toggle Text
Dyalog Section (show APLX section)
Some details related to Dyalog APL.
This is shown initially. It is hidden and the "APLX" section is displayed when "Show APLX section" is clicked.
Some filling text.