> is there a way to click on a button in a tiddler to
highlight some
> textphrases (in this tiddler) like a textmarker? E. g.
I want to
> hightlight the word "button" and the words
"highlight some
> textphrases" in this text when I click on a text
"Hint for solution".
>
> Thanks for any "Hint for solution".
http://www.Ti
ddlyTools.com/#ToggleClass
Usage:
<<tiddler ToggleClass with: "label"
toggleClass targetClass>>
where:
"label" specifies the command/link text. Use
quotes to surround text
containing spaces (default is "toggle hints")
'toggleClass' specifies the class of element that will be
altered
(default is "hint")
'targetClass' specifies the additional class to be added or
removed
from all target elements (default is
"highlight").
Target elements are designated by containing them in class
wrappers,
for example:
<<tiddler ToggleClass>>
{{hint{this text will be toggled}}}...
but this text won't...
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
-~----------~----~----~----~------~----~------~--~---
|