diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:02:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:02:01 -0400 |
commit | 895faed6428f3523871d29ed82b0ab3326453b75 (patch) | |
tree | beca73381f8d9289efff5c311e20656d79894bdf /doc | |
parent | d593533af58d5133ef6ecfc4323e3e1d55d71c48 (diff) |
toggle: Add support for toggles that are open by default.
Also fix to work in preview mode.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/toggle.mdwn | 3 | ||||
-rw-r--r-- | doc/todo/toggle_initial_state.mdwn | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/plugins/toggle.mdwn b/doc/plugins/toggle.mdwn index cb76d0b7b..b33575824 100644 --- a/doc/plugins/toggle.mdwn +++ b/doc/plugins/toggle.mdwn @@ -28,3 +28,6 @@ each other, but can be located anywhere on the page. There can also be mutiple toggles that all toggle a single togglable. The id has a default value of "default", so can be omitted in simple cases. + +If you'd like a toggleable to be displayed by default, and toggle to +hidden, then pass a parameter "open=true" when setting up the toggleable. diff --git a/doc/todo/toggle_initial_state.mdwn b/doc/todo/toggle_initial_state.mdwn index f54d33c04..cbbf7e6fd 100644 --- a/doc/todo/toggle_initial_state.mdwn +++ b/doc/todo/toggle_initial_state.mdwn @@ -2,3 +2,5 @@ It would be nice if one could set the initial state of the toggleable area. --[[[rdennis]] [[tag plugins/toggle]] + +[[done]] |