[tw] Re: Navigating through tiddlers without flooding

2010-11-26 Thread Yakov
> You might also want to try this transclusion:
>   http://www.tiddlytools.com/#NextTiddler

Yes, this looks much closer. What I do mean is another implementation
of this which would cause _each_ PrettyLink to act as a NextTiddler,
if clicked with shift key pressed. Or even more, cause PrettyLinks
work so when clicked in a usual way and to open new tiddler without
closing the first one if shift is pressed.

The latter appearence would probably be useful for a site as users
prefer to get what they got accustomed to; and when they need to
multiply the number of tiddlers, they can see the shift+click
navigation tip in FAQ, for example.

I'm also somewhat confused with this in handheld since I have no idea,
even about how this can look there (and this is a pity because I write
too much to scroll things up and down each time). The one I can
imagine is a pop-up with two lines when clicking on a link: the first
line with an "open" label and the second with "open next" (meaning
closing this one).

As for SinglePageModePlugin, I can see another useful option for
"usual view" of a site - the "Automatically permalink current tiddler"
option.

Speaking about long tiddlers and navigation, I can touch another
aspect wich also looks a little annoying for me: sliders with long
content. The thing is, when you have read one of them, you usually
want to close it and in this case you need to scroll up to the button.
Imagine, for example a long proof of a theorem or a description of a
solution of a problem. It would be nice of slider to generate a "fold"
button on the bottom of content (ideally, if the content is long
enough).

Anyway, thanks for the responses.

PS

> browsers usually have their own link-click-modifiers that do different things 
> when clicking a link

Oh, PrettyLinks are the anchor elements? (never checked this) Even if
browsers do smth with links, why not use another elements with some
styling and JavaScript event handling?

> Dunno if one can cancel event bubbling such that the browser default is being 
> prevented from firing.

Yeap, that's a question. I even haven't met any detailed overview of
BOM and the default rendering of the key events by browsers is
somewhat absolute unknown to me. Perhaps this [1] works with
suppressing of them, but it needs testing anyway. I can see nothing
about default events in the description.

[1] http://api.jquery.com/keypress/

On 25 ноя, 23:31, Tobias Beer  wrote:
> I guess, what Yakov is after is to be able to only invoke
> SinglePageMode, when ctrlKey, shiftKey or altKey of the event is set.
> However, implementing such might be tricky, as browsers usually have
> their own link-click-modifiers that do different things when clicking
> a link while holding such a modifier key. Dunno if one can cancel
> event bubbling such that the browser default is being prevented from
> firing.
>
> Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: Navigating through tiddlers without flooding

2010-11-25 Thread Tobias Beer
I guess, what Yakov is after is to be able to only invoke
SinglePageMode, when ctrlKey, shiftKey or altKey of the event is set.
However, implementing such might be tricky, as browsers usually have
their own link-click-modifiers that do different things when clicking
a link while holding such a modifier key. Dunno if one can cancel
event bubbling such that the browser default is being prevented from
firing.

Cheers, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: Navigating through tiddlers without flooding

2010-11-25 Thread Eric Shulman
> Thanks, whatever. However, I was looking for somewhat that doesn't
> lose the tiddlers representation, something optional. Can anyone say
> what handles clicking PrettyLinks (for some dev perspective)?

SinglePageModePlugin doesn't "lose the tiddlers representation".   It
merely extends the core's story.displayTiddler() functionality so that
story.closeAllTiddlers() is invoked whenever a tiddler is displayed,
resulting in only one tiddler being displayed at a time (i.e., "single
page"), much like a regular web page.  This "mode" can be toggled
easily, simply by checking/clearing an option checkbox:

   <> show one tiddler at a time

You might also want to try this transclusion:
   http://www.tiddlytools.com/#NextTiddler
Usage:
   <>

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 tiddlyw...@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: Navigating through tiddlers without flooding

2010-11-25 Thread Yakov
Thanks, whatever. However, I was looking for somewhat that doesn't
lose the tiddlers representation, something optional. Can anyone say
what handles clicking PrettyLinks (for some dev perspective)?

On 23 ноя, 20:13, whatever  wrote:
> Tryhttp://www.TiddlyTools.com/#SinglePageModePlugin
> w
>
> On Nov 23, 5:21 pm, Yakov  wrote:
>
>
>
> > Hi guys.
>
> > Is there any solution that allows to open tiddlers with automatical
> > closing the tiddler in which someone activates a pretty link?
>
> > I mean, somewhat like shift+click on prettylink in tiddler A to
> > tiddler B
> >  =
> > open tiddler B and close tiddler A
> >  or
> > open tiddler B with visual effect that look like tiddler A transforms
> > to tiddler B.
>
> > This would be useful not to "flood" the page with tiddlers while
> > working and somewhat comfortable for site visitors..

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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: Navigating through tiddlers without flooding

2010-11-23 Thread whatever
Try http://www.TiddlyTools.com/#SinglePageModePlugin
w

On Nov 23, 5:21 pm, Yakov  wrote:
> Hi guys.
>
> Is there any solution that allows to open tiddlers with automatical
> closing the tiddler in which someone activates a pretty link?
>
> I mean, somewhat like shift+click on prettylink in tiddler A to
> tiddler B
>  =
> open tiddler B and close tiddler A
>  or
> open tiddler B with visual effect that look like tiddler A transforms
> to tiddler B.
>
> This would be useful not to "flood" the page with tiddlers while
> working and somewhat comfortable for site visitors..

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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.