1837
Comment:
|
3089
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
'''SeeSaw''' is a !MoinMoin macro written by Jim Wight. | '''''SeeSaw''''' is a !MoinMoin macro written by Jim Wight. |
Line 13: | Line 13: |
== Inline Usage == | == 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 === |
Line 17: | Line 31: |
== Section Usage == | === Section Usage === |
Line 19: | Line 33: |
=== I. Reveale text === | ==== Reveal Text ==== |
Line 21: | Line 35: |
<<SeeSaw(section="example2", toshow="Show the details", tohide="Hide the details", bg="#FFFFDD")>> | <<SeeSaw(section="example2", toshow="<<Show>> the details", tohide="<<Hide>> the details", bg="#FFFFDD")>> |
Line 23: | Line 37: |
{{{#!wiki seesaw/example2/show | {{{#!wiki seesaw/example2/hide |
Line 25: | Line 39: |
This paragraph might contain a large amount of details only geeks might be interested in. This paragraph might contain a large amount of details only geeks might be interested in. This paragraph might contain a large amount of details only geeks might be interested in. This paragraph might contain a large amount of details only geeks might be interested in. This paragraph might contain a large amount of details only geeks might be interested in. This paragraph might contain a large amount of details only geeks might be interested in. This paragraph might contain a large amount of details only geeks might be interested in. * Might contain all sorts of elements * Including lists * But '''not''' APL code I am afraid! |
|
Line 27: | Line 49: |
=== II. Toggle text === | ==== Toggle Text ==== |
Line 29: | Line 51: |
<<SeeSaw(section="example2", toshow="Show APLX section", tohide="Show Dyalog section", bg="#FFFFDD")>> | {{{#!wiki seesaw/example3/show '''Dyalog Section'''}}} |
Line 31: | Line 54: |
{{{#!wiki seesaw/example2/show '''Dyalog Section'''<<BR>><<BR>> |
{{{#!wiki seesaw/example3/hide '''APLX Section'''}}} <<SeeSaw(section="example3", toshow="(Show <<APLX>> section)", tohide="(Show <<Dyalog>> section)", bg="#FFFFDD")>> {{{#!wiki seesaw/example3/show |
Line 34: | Line 61: |
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 37: | Line 64: |
{{{#!wiki seesaw/example2/hide '''APLX Section'''<<BR>><<BR>> |
{{{#!wiki seesaw/example3/hide |
Line 41: | Line 67: |
'''Working but not prefect yet - still under construction!''' |
SeeSaw Macro
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.