Pop-up / tool-tip

78 views
Skip to first unread message

David Shaw

unread,
May 21, 2012, 2:06:59 PM5/21/12
to tiddl...@googlegroups.com
I want to add a link to a tiddler which, when clicked on, opens another
tiddler but which, when I just hover the mouse over it, displays the
contents of either a specified section of the linked tiddler or the
contents of a separate tiddler in a pop-up, tool-tip style, so that I
can offer the user a summary of the linked tiddler without having to
open it. Is this possible?

Many thanks,

David Shaw

Måns

unread,
May 21, 2012, 2:35:41 PM5/21/12
to TiddlyWiki
Hi David
Eric made http://www.tiddlytools.com/#PopupPreviewPlugin
I don't know if it's possible to make it show alternative contents in
the popup though..

Cheers Måns Mårtensson

David Shaw

unread,
May 22, 2012, 5:05:36 AM5/22/12
to tiddl...@googlegroups.com
Hello M�ns,

Thank you very much for that link (and thank you very much Eric for
writing the plugin) - it's not exactly what I was after, but does the
job I want it to do, so I'm happy :-)

Again, many thanks,

David Shaw
> Cheers M�ns M�rtensson
>

Eric Shulman

unread,
May 22, 2012, 6:39:13 PM5/22/12
to TiddlyWiki
Mans wrote:
> > I don't know if it's possible to make it show alternative contents in
> > the popup though..

David replied:
> Thank you very much for that link (and thank you very much Eric for
> writing the plugin) - it's not exactly what I was after, but does the
> job I want it to do, so I'm happy :-)


http://www.tiddlytools.com/#PopupPreviewPlugin
has been updated (v1.2.0)

It now allows use of a special section name (default="Preview"). When
this section is present in a tiddler, the popup preview for that
tiddler will show the section content, rather than the entire tiddler
content. You can hide the Preview section using TW comment markers, /
%...%/ or a CSS wrapper, @@display:none;...@@ so that it provides
alternative "summary" popup display while still showing the "regular"
content when the tiddler is displayed normally.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

----
WAS THIS ANSWER HELPFUL? IF SO, PLEASE MAKE A DONATION
http://www.TiddlyTools.com/#Donations
note: donations are directly used to pay for food, rent,
gas, net connection, etc., so please give generously and often!

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact

Eric Shulman

unread,
May 22, 2012, 8:43:54 PM5/22/12
to TiddlyWiki
> http://www.tiddlytools.com/#PopupPreviewPlugin
...
> You can hide the Preview section using TW comment markers, /
> %...%/ or a CSS wrapper, @@display:none;...@@ so that it provides
> alternative "summary" popup display while still showing the "regular"
> content when the tiddler is displayed normally.

Addendum:

The syntax for a "hidden section" is:

/%
!sectionname
content
!end
%/

or

@@display:none;
!sectionname
content
!end
@@

or

{{hidden{
!sectionname
content
!end
}}}

Note the use of the 'fake' section marker, "!end" to limit the section
definition. This is used to ensure that hidden section will only
include the desired content, and not the surrounding syntax.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services

Måns

unread,
May 23, 2012, 9:16:21 AM5/23/12
to TiddlyWiki
Hi Eric


> http://www.tiddlytools.com/#PopupPreviewPlugin has been updated (v1.2.0) It now allows use of a special section name (default="Preview").

You are THE Magician :-) -adding value to your "lifesaver plugins"
like this!!

Great job!

I was wondering - When will your newest plugin: http://www.TiddlyTools.com/#UndoPlugin
leave the "Experimental - DO NOT DISTRIBUTE" status?

Is it dependant on some browser features that might change in the
nearest future - or do you need more testing?
If it's the latter I can tell that I've been using for some time in
different TWs with FF and Chrome, and it seems to be very stable :-)

Cheers Måns Mårtensson

David Shaw

unread,
May 23, 2012, 10:22:13 AM5/23/12
to tiddl...@googlegroups.com
On 23/05/12 14:16, M�ns wrote:
> Hi Eric
>
>
>> http://www.tiddlytools.com/#PopupPreviewPlugin has been updated (v1.2.0) It now allows use of a special section name (default="Preview").
>
> You are THE Magician :-) -adding value to your "lifesaver plugins"
> like this!!
>
> Great job!


Seconded! I really wasn't expecting anything like this when I posed my
query. So many, many thanks to you, Eric, you're a star!

David Shaw
Reply all
Reply to author
Forward
0 new messages