2169
Comment:
|
1845
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
'''SeeSaw''' is a !MoinMoin macro written by Jim Wight. |
|
Line 5: | Line 7: |
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 use will stop reading any information at all if she gets flooded with to many pieces of information. | 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. |
Line 9: | Line 11: |
That's what the MoinMoin macro SeeSaw is designed to do. | That's what the !MoinMoin macro SeeSaw is designed to do. |
Line 17: | Line 19: |
<<SeeSaw(section="example2", toshow="Show the details", tohide="Hide the details")>> | === I. Reveale text === |
Line 19: | Line 21: |
{{{#!wiki seesaw/example2 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. 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. {{{some lines of code}}} |
<<SeeSaw(section="example2", toshow="<<Show>> the details", tohide="<<Hide>> the details", bg="#FFFFDD")>> {{{#!wiki seesaw/example2/show 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. |
Line 25: | Line 27: |
{{{#!wiki seesaw/example2 Some nonsense to fill the line up. |
=== II. Toggle text === <<SeeSaw(section="example3", toshow="Show APLX section", tohide="Show Dyalog section", bg="#FFFFDD")>> {{{#!wiki seesaw/example3/show '''Dyalog Section'''<<BR>><<BR>> Some details related to Dyalog APL.<<BR>> This is shown initially. It is hidden and the "APLX" section is displayed when "Show Dyalog section" is clicked. |
Line 28: | Line 36: |
{{{#!wiki seesaw/example3/hide '''APLX Section'''<<BR>><<BR>> Some details related to APLX.<<BR>> This is hidden initially. '''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.
Inline Usage
This line contains some »» text. Click on the link to show it.
Section Usage
I. Reveale text
Show the details
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.
II. Toggle text
Dyalog Section
Some details related to Dyalog APL.
This is shown initially. It is hidden and the "APLX" section is displayed when "Show Dyalog section" is clicked.