2148
Comment:
|
1368
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
'''SeeSaw''' is a MoinMoin macro written by Jim Wight. |
|
Line 13: | Line 15: |
You can allow text <<SeeSaw(section="example1", inline="This text was hidden initially")>> to be expanded inline. Click on the link to show the text. | This line contains some <<SeeSaw(section="example1", inline=" hidden")>> text. Click on the link to show it. |
Line 17: | Line 19: |
<<SeeSaw(section=example2, toshow="Show the details")>> {{{#!wiki seesaw/example2/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. 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. |
=== I. Reveale text === <<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. |
Line 22: | Line 27: |
{{{#!wiki seesaw/example2/Hide Almost nothing |
=== II. Toggle text === <<SeeSaw(section="example2", toshow="Show the details", tohide="Hide the details")>> {{{#!wiki seesaw/example2 Some details; going to be replaced by something else. {{{#!wiki seesaw/example2/example2-bg Some nonsense used for toggling. |
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 use will stop reading any information at all if she gets flooded with to 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
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
Some details; going to be replaced by something else.