|
List Info
Thread: How To Hide Part Of A Tiddler
|
|
| How To Hide Part Of A Tiddler |
  United States |
2007-10-20 16:35:34 |
I have a tidder that displays two other tiddlers:
<<tiddler PartA>>
<<tiddler PartB>>
I would like to have a switch that will hide/display the
first
tiddler, maybe as a line that says, "Hide PartA"
when PartA is
visible, and "Display PartA" when PartA is hidden.
Thank you.
Alvin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: How To Hide Part Of A Tiddler |
  United States |
2007-10-20 16:52:45 |
Hi Alvin,
To accomplish what you would like I use InlineSliderPlugin
and
AccordionMacro in tandem, both written by Saq:
http://tw.lewcid.org
/svn/plugins
Regards,
W.
On 20 Okt., 23:35, Alvin <al... myfirstwebpage.net>
wrote:
> I have a tidder that displays two other tiddlers:
>
> <<tiddler PartA>>
> <<tiddler PartB>>
>
> I would like to have a switch that will hide/display
the first
> tiddler, maybe as a line that says, "Hide
PartA" when PartA is
> visible, and "Display PartA" when PartA is
hidden. Thank you.
>
> Alvin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: How To Hide Part Of A Tiddler |
  Germany |
2007-10-20 17:13:46 |
> I would like to have a switch that will hide/display
the first
> tiddler, maybe as a line that says, "Hide
PartA" when PartA is
> visible, and "Display PartA" when PartA is
hidden.
Since you're already using separate tiddlers for this, you
could use the
built-in slider macro for this:
<<slider chkPartA [[PartA]] "Toggle
PartA" "collapse/expand">>
Also see
http://tiddlywiki.com/#
Macros
HTH.
-- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: How To Hide Part Of A Tiddler |
  United States |
2007-10-20 17:18:36 |
> I have a tidder that displays two other tiddlers:
> <<tiddler PartA>>
> <<tiddler PartB>>
> I would like to have a switch that will hide/display
the first
> tiddler, maybe as a line that says, "Hide
PartA" when PartA is
> visible, and "Display PartA" when PartA is
hidden. Thank you.
Instead of using the <<tiddler>> macro, you can
use the <<slider>>
macro:
<<slider cookieName TiddlerName labeltext
tooltip>>
Using your example, above, you would write:
<<slider showA PartA "PartA"
"show/hide PartA">>
<<tiddler PartB>>
Unfortunately, the slider label can't switch between
"Hide..." and
"Display..." as you described because the core
<<slider>> macro does
not support use of alternative text labels based on the
open/closed
state of the slider panel.
Fortunately,
http:
//www.TiddlyTools.com/#NestedSlidersPlugin
offers a robust, feature-rich enhanced slider syntax that
DOES permit
you to specify alternative open/closed labels:
+++[closedLabel][openedLabel]
content
===
Unlike the core's <<slider>> macro, the content
of a NestedSlider
panel does not have to be contained in a separate tiddler,
and can
include ANY TW wiki syntax (even other nested sliders!). Of
course,
you CAN use the <<tiddler>> macro to grab
content from another
tiddler. For example:
+++[Display PartA][Hide PartA]
<<tiddler PartA>>
===
There's lots of additional features available using
NestedSlidersPlugin, such as "floating" sliders
that are displayed on
top of other content instead of expanding in place,
"lazy" sliders
that defer rendering until first opened,
"transient" sliders that
automatically close when you click elsewhere. In addition,
you can
install
http:
//www.TiddlyTools.com/#MoveablePanelPlugin
which lets you grab a floating slider panel and reposition
it simply
by dragging it with the mouse.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: How To Hide Part Of A Tiddler |
  United States |
2007-10-21 10:56:18 |
You're amazing, Eric. Thank you.
And thank you too to wolfgang and FND.
One more question, Eric. I want PartA to display right off
when the
container tiddler is displayed. How do I specify that.
Alvin
On Oct 20, 5:18 pm, Eric Shulman <elsdes... gmail.com> wrote:
> > I have a tidder that displays two other tiddlers:
> > <<tiddler PartA>>
> > <<tiddler PartB>>
> > I would like to have a switch that will
hide/display the first
> > tiddler, maybe as a line that says, "Hide
PartA" when PartA is
> > visible, and "Display PartA" when PartA
is hidden. Thank you.
>
> Instead of using the <<tiddler>> macro, you
can use the <<slider>>
> macro:
> <<slider cookieName TiddlerName labeltext
tooltip>>
>
> Using your example, above, you would write:
> <<slider showA PartA "PartA"
"show/hide PartA">>
> <<tiddler PartB>>
>
> Unfortunately, the slider label can't switch between
"Hide..." and
> "Display..." as you described because the
core <<slider>> macro does
> not support use of alternative text labels based on the
open/closed
> state of the slider panel.
>
> Fortunately,
> http:
//www.TiddlyTools.com/#NestedSlidersPlugin
> offers a robust, feature-rich enhanced slider syntax
that DOES permit
> you to specify alternative open/closed labels:
>
> +++[closedLabel][openedLabel]
> content
> ===
>
> Unlike the core's <<slider>> macro, the
content of a NestedSlider
> panel does not have to be contained in a separate
tiddler, and can
> include ANY TW wiki syntax (even other nested
sliders!). Of course,
> you CAN use the <<tiddler>> macro to grab
content from another
> tiddler. For example:
>
> +++[Display PartA][Hide PartA]
> <<tiddler PartA>>
> ===
>
> There's lots of additional features available using
> NestedSlidersPlugin, such as "floating"
sliders that are displayed on
> top of other content instead of expanding in place,
"lazy" sliders
> that defer rendering until first opened,
"transient" sliders that
> automatically close when you click elsewhere. In
addition, you can
> install
> http:
//www.TiddlyTools.com/#MoveablePanelPlugin
> which lets you grab a floating slider panel and
reposition it simply
> by dragging it with the mouse.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: How To Hide Part Of A Tiddler |
  United States |
2007-10-21 12:08:46 |
> One more question, Eric. I want PartA to display right
off when the
> container tiddler is displayed. How do I specify
that.
NestedSlidersPlugin syntax begins with "+++" OR
"++++"
THREE plusses starts with a closed slider panel. FOUR
plusses starts
with the panel open.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: How To Hide Part Of A Tiddler |
  United States |
2007-10-21 19:08:06 |
Excellent! Works beautifully, Eric. Thank you.
A.
On Oct 21, 12:08 pm, Eric Shulman <elsdes... gmail.com> wrote:
> > One more question, Eric. I want PartA to display
right off when the
> > container tiddler is displayed. How do I specify
that.
>
> NestedSlidersPlugin syntax begins with "+++"
OR "++++"
>
> THREE plusses starts with a closed slider panel. FOUR
plusses starts
> with the panel open.
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWiki googlegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribe googlegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
[1-7]
|
|