Best use of this script would be to put it in the viewtemplate* as a
toolbarbutton and only show it when lists are tagged with sometag..
(In the description above the last linkbutton has <<tiddler
miniBSlidesScript) as the last/or first link button - depending on
where you put the button in the tiddler..

*<span macro="showWhenTaggedAny LinksList"><span class='toolbar'
macro='tiddler miniBSlidesScript'></span></span>

Needs HideWhenPlugin (http://mptw.tiddlyspot.com/#HideWhenPlugin)


Regards Måns Mårtensson


On 23 Nov., 11:37, Måns <[email protected]> wrote:
> > The point is I would like an
> > option in the FramedLinksPlugin to open the links within a mini
> > browser instead of a plain iframe. Rather than maintaining hr-
> > seperated lists, I'd just as soon work from the non-hr seperated lists
> > I already have. When I first started using the MiniBrowser plugin, I
> > thought how nice it would be if I could just have mini browsers open
> > spontaneously in response to clicking on a URL in any tiddler, without
> > having to insert the command in the tiddler first. Then I saw the OP's
> > reference to FramedLinksPlugin -- which does exactly what I want, but
> > with iframes instead of minibrowsers.
>
> Hi BC
>
> My first attempt in making a script/macro button to provide a similar
> effect with a nested miniBrowser for each link in a normal
> (lineseparated list) -
>
> Copy the script into a tiddler with a title xxx. (don't click the
> scriptbutton - it will overwrite the tiddler)
>
> In your list with links - write <<tiddler xxx>> - click done and click
> the new button L2mB:
>
> You'll get a button (link) for each link (if you have
> NestedSlidersPluign installed) When clicked upon you'll get a
> miniBrowserwindow with the actual url opened...
>
> I'm still working on getting the url text into the label of the
> button..
>
> <script label="L2mB" title="convert list to miniBrowserlinks in
> slides. (needs miniBrowserPlugin and NestedSlidersPlugin)">
> var here=story.findContainingTiddler(place);
>    if (!here) return;
>    var title=here.getAttribute("tiddler");
>    var tid=store.getTiddler(title);
>    var t=store.getTiddlerText(tiddler.title) ;
>    var target = store.getTiddler(tiddler.title) ;
> var txt='+++[Link]... <<miniBrowser '+tid.text.split('\n').join('>>===
> \n+++[Link]... <<miniBrowser ')+'>>===';
> store.saveTiddler
> (tid.title,tid.title,txt,tid.modifier,tid.modified,tid.tags,tid.fields);
> </script>
>
> Regards Måns Mårtensson

--

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


Reply via email to