[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread wolfgang

Hi Dave,

> I would like to have the ability to make link tooltips become a fully
> functioning popup (i.e. from which you could open links and even have
> pop-ups work within)  I would like it to behave with the same delay
> that a link tooltip has to avoid popups from a simple sweep of the
> mouse.
>

Though without the delay, but you can easily adapt ShowPopup to open
on hover by replacing 'onclick' to 'onmouseover' in its code section:

http://www.TiddlyTools.com/#ShowPopup

To have popups within Popups I found it also better to add
'top','right' in the braces following Popup.show, as in this example:

Popup.show('top','right');

so that these popups don't completely hide the contents below.

Regards..
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread wolfgang

> > I would like to have the ability to make link tooltips become a fully
> > functioning popup

forgot to mention that with this tweak to ShowPopup the link looses
its ability to actually open any tiddler other than within the popup
on hover.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread wolfgang

> forgot to mention ...

sorry, also forgot that this doesn't works with IE. See this example
here:

http://menuflex.tiddlyspot.com/#Pop
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread cedardoc

Thanks Wolfgang, I'll try that.

On Sep 22, 2:14 pm, wolfgang  wrote:
> > forgot to mention ...
>
> sorry, also forgot that this doesn't works with IE. See this example
> here:
>
> http://menuflex.tiddlyspot.com/#Pop
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread cedardoc

I got this error:

Error: SyntaxError: unterminated regular expression literal

when I installed it.

It says its for 2.1 and I have 2.4...  Do you know of any tweaks for
this or am I out of luck?


On Sep 22, 2:29 pm, cedardoc  wrote:
> Thanks Wolfgang, I'll try that.
>
> On Sep 22, 2:14 pm, wolfgang  wrote:
>
> > > forgot to mention ...
>
> > sorry, also forgot that this doesn't works with IE. See this example
> > here:
>
> >http://menuflex.tiddlyspot.com/#Pop
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread Eric Shulman



On Sep 22, 1:14 pm, wolfgang  wrote:
> > forgot to mention ...
>
> sorry, also forgot that this doesn't works with IE. See this example
> here:
>
> http://menuflex.tiddlyspot.com/#Pop

The IE problem has **already been fixed** in the current version of
   http://www.TiddlyTools.com/#ShowPopup

The problem occurs if a 'width' param isn't provided when transcluding
ShowPopup.  The popup width is set by this line of code:
   d.style.width='$5';
When the 'width' param is omitted, the '$5' remains unchanged, rather
than being replaced with the param value.

Fortunately, even though '$5' is not a valid CSS measurement value,
most browsers handle unknown CSS values, typically by ignoring them,
so that the above code is treated as if 'auto' had been entered.

Unfortunately, IE isn't one of these 'fault tolerant' browsers :-(
As a result, I had to tweak the script to explicitly check for '$5'
and replace it with 'auto', so that IE will not fail.

You should update your customized versions accordingly.

enjoy,
-e

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread Eric Shulman


Also note that TW popups usually go away as soon as you click
*anywhere* in the document, including *inside* the popup itself.  This
makes it impossible to interact with the content of the popup, except
for a single click (e.g, on a link).

In order to peform extended interaction with the contents of a popup,
you need to install:
http://www.TiddlyTools.com/#StickyPopupPlugin
and use the 'sticky' classname when invoking ShowPopup. Clicking
*outside* the popup still makes it go away, but clicks *inside* the
popup will be handled while leaving the popup displayed.

enjoy,
-e
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread wolfgang

Hi Eric,

> >http://menuflex.tiddlyspot.com/#Pop
>
> The IE problem has **already been fixed** in the current version of
>http://www.TiddlyTools.com/#ShowPopup
> ...
>
> You should update your customized versions accordingly.
>

Thanks for your detailed explanation!

In my day to day TW I actually already used your latest version for my
variant, I just didn't realized that this updated version solves the
difficulty with IE. Just updated [[Pop]] in Menuflex (and I hope to
find the time soon to update all other plugins in this TW too, with
which you went ahead again).

> In order to peform extended interaction with the contents of a popup,
> you need to install:
>http://www.TiddlyTools.com/#StickyPopupPlugin
> and use the 'sticky' classname when invoking ShowPopup.

an other way is the sticky class for all popups, by adding the
following to a systemConfig tagged tiddler:

config.options.chkStickyPopups=true;

Regards..
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread wolfgang

> I got this error:
>
> Error: SyntaxError: unterminated regular expression literal
>
> when I installed it.
>

I hope you didn't installed by wrongly adding a systemConfig tag, as
it would be necessary with real plugins.

ShowPopup, as well as my variant [[Pop]] (which I only could make due
to Eric's step by step help!) - are no plugins in this sense, nor
inline scripts depending on InlineJavascriptPlugin. But html scripts
transcluded with TiddlyWiki own syntax, which isn't dependent on any
other tiddlers.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread cedardoc

I don't know how many times I've made that mistake! (yes I added
systemConfig)

Do either if you know how to get show popup to apply to all links
universally, or maybe based on the presence of a certain tag?

Dave

On Sep 22, 3:47 pm, wolfgang  wrote:
> > I got this error:
>
> > Error: SyntaxError: unterminated regular expression literal
>
> > when I installed it.
>
> I hope you didn't installed by wrongly adding a systemConfig tag, as
> it would be necessary with real plugins.
>
> ShowPopup, as well as my variant [[Pop]] (which I only could make due
> to Eric's step by step help!) - are no plugins in this sense, nor
> inline scripts depending on InlineJavascriptPlugin. But html scripts
> transcluded with TiddlyWiki own syntax, which isn't dependent on any
> other tiddlers.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread wolfgang



On 23 Sep., 02:05, cedardoc  wrote:
> I don't know how many times I've made that mistake! (yes I added
> systemConfig)
>
> Do either if you know how to get show popup to apply to all links
> universally, or maybe based on the presence of a certain tag?
>

It's not possible nor a good idea to ably ShowPopup to all links,
because then no link would open any tiddlers anymore!

As I already wrote, it is a html script which get transcluded by
TiddlyWikis own syntax to embed tiddlers - in this case the ShowPopup
tiddler - like this:

<>

where:
*''~TiddlerName''title of the tiddler to be displayed
*''label''text for the command link
*''tooltip''mouseover help text for the link
*''buttonClass''CSS classname applied to the command text
(default=button)
*''width''width of the popup (using CSS measurements,
default=auto)
*''popupClass''CSS classname applied to the popup panel
(default=none).Use 'sticky' for persistent popups (see
StickyPopupPlugin)

see here: http://www.TiddlyTools.com/#ShowPopup
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread cedardoc

Okay, thanks Wolfgang.  I think what I'll do is try to modify the
PopupPreviewPlugin to trigger on a hover, and hopefully the clicking
the link would still open it normally.  I'll post here if I achieve
anything useful in the next few days to weeks...(should be simple
enough, in theory...:-)

thanks to both of you again

Dave

On Sep 22, 6:16 pm, wolfgang  wrote:
> On 23 Sep., 02:05, cedardoc  wrote:
>
> > I don't know how many times I've made that mistake! (yes I added
> > systemConfig)
>
> > Do either if you know how to get show popup to apply to all links
> > universally, or maybe based on the presence of a certain tag?
>
> It's not possible nor a good idea to ably ShowPopup to all links,
> because then no link would open any tiddlers anymore!
>
> As I already wrote, it is a html script which get transcluded by
> TiddlyWikis own syntax to embed tiddlers - in this case the ShowPopup
> tiddler - like this:
>
> < popupClass>>
>
> where:
> *''~TiddlerName''title of the tiddler to be displayed
> *''label''text for the command link
> *''tooltip''mouseover help text for the link
> *''buttonClass''CSS classname applied to the command text
> (default=button)
> *''width''width of the popup (using CSS measurements,
> default=auto)
> *''popupClass''CSS classname applied to the popup panel
> (default=none).Use 'sticky' for persistent popups (see
> StickyPopupPlugin)
>
> see here:http://www.TiddlyTools.com/#ShowPopup
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread Eric Shulman

> Okay, thanks Wolfgang.  I think what I'll do is try to modify the
> PopupPreviewPlugin to trigger on a hover, and hopefully the clicking
> the link would still open it normally.  I'll post here if I achieve
> anything useful in the next few days to weeks...(should be simple
> enough, in theory...:-)

http://www.TiddlyTools.#PopupPreviewPlugin
has been updated:
   2009.09.22 [1.1.0] added chkPopupPreviewMouseover option

enjoy,
-e

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-22 Thread cedardoc

That works great, thank you Eric!  It either would have taken me weeks
to figure it out on my own or, more likely, I wouldn't have done it at
all.  I'm sure others will like this new functionality as well.

Good night.
-Dave

On Sep 22, 8:14 pm, Eric Shulman  wrote:
> > Okay, thanks Wolfgang.  I think what I'll do is try to modify the
> > PopupPreviewPlugin to trigger on a hover, and hopefully the clicking
> > the link would still open it normally.  I'll post here if I achieve
> > anything useful in the next few days to weeks...(should be simple
> > enough, in theory...:-)
>
> http://www.TiddlyTools.#PopupPreviewPlugin
> has been updated:
>    2009.09.22 [1.1.0] added chkPopupPreviewMouseover option
>
> enjoy,
> -e
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: is "popup preview tooltip" a possibility?

2009-09-23 Thread Dave Parker

(Couldn't sleep...). What about using a middle-click?  Would you mind
adding that option please? (It turns out that the instant hover option
is a little too fast)

Thanks Eric,
Dave

cedardoc wrote:
> That works great, thank you Eric!  It either would have taken me weeks
> to figure it out on my own or, more likely, I wouldn't have done it at
> all.  I'm sure others will like this new functionality as well.
>
> Good night.
> -Dave
>
> On Sep 22, 8:14 pm, Eric Shulman  wrote:
> > > Okay, thanks Wolfgang.  I think what I'll do is try to modify the
> > > PopupPreviewPlugin to trigger on a hover, and hopefully the clicking
> > > the link would still open it normally.  I'll post here if I achieve
> > > anything useful in the next few days to weeks...(should be simple
> > > enough, in theory...:-)
> >
> > http://www.TiddlyTools.#PopupPreviewPlugin
> > has been updated:
> >    2009.09.22 [1.1.0] added chkPopupPreviewMouseover option
> >
> > enjoy,
> > -e
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~--~~~~--~~--~--~---