List Info

Thread: Highlight text like a textmarker




Highlight text like a textmarker
country flaguser name
United States
2007-09-23 12:17:01
Hi,

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". 

-Uwe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Highlight text like a textmarker
country flaguser name
United States
2007-09-23 13:51:20
> 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 TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Highlight text like a textmarker
country flaguser name
United States
2007-09-24 01:41:37
Thanks Eric,

1. your solution works! But not in a tiddlywiki-table
http://bbz-dorm
agen.de/wennmann/TWLern/TWLern.html#%5B%5B5.%20RAM%20auf%20d
em%20Motherboard%5D%5D

because the table gets destroyed. Is there a trick to avoid
this?

2. Is it possible to independently highlight more than one
section of
the text? I want to give the reader *more* questions than
one. If he
clicks on "toggle hints1" he gets the highlighted
text sections for
hint1. If he clicks on "toggle hints2" he gets the
highlighted
sections for hint2 (and so on).

-Uwe



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Highlight text like a textmarker
country flaguser name
United States
2007-09-24 02:45:41
this isn't directly an answer/solution to your questions -
but I
thought I just throw it in here: have you seen Paulo's
"QuizzerPlugin"
http://www.math.ist.utl.pt/~psoares/addons.html#Qui
zzerPlugin
I don't know what exactly you're trying to achieve - but
it's probably
of some help...?

Examples are there, too: "Quiz"

http://www.math.ist.utl.pt/~psoares/addons.html#Quiz
"QuickQuizz"
http://www.math.ist.utl.pt/~psoares/addons.html#QuickQ
uizz

BTW: I thought that I've already seen some "hint"
feature elsewhere
but unfortunately I can't remember... - I'll have a look if
it's
buried somewhere in my bookmarks...

--
schilke


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Highlight text like a textmarker
country flaguser name
United States
2007-09-24 04:40:39
Do you know, how long I was searching for such a tool? MANY
THANKS for
your advice!

-Uwe

On 24 Sep., 09:45, schilke <googlegroups.tt.ch...xoxy.net> wrote:
> this isn't directly an answer/solution to your
questions - but I
> thought I just throw it in here: have you seen Paulo's
> "QuizzerPlugin"http://www.math.ist.utl.pt/~psoares/addons.html#Qui
zzerPlugin
> I don't know what exactly you're trying to achieve -
but it's probably
> of some help...?
>
> Examples are there, too: "Quiz"
http://www.math.ist.utl.pt/~psoares/addons.html#Quiz
> "QuickQuizz"http://www.math.ist.utl.pt/~psoares/addons.html#QuickQ
uizz
>
> BTW: I thought that I've already seen some
"hint" feature elsewhere
> but unfortunately I can't remember... - I'll have a
look if it's
> buried somewhere in my bookmarks...
>
> --
> schilke


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "TiddlyWiki" group.
To post to this group, send email to TiddlyWikigooglegroups.com
To unsubscribe from this group, send email to
TiddlyWiki-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )