> Knowing that your first parameter is the tiddler being displayed in the
> scrollbox, simply replace this with
> [[$1]]
> If you now look at your scrollbox you will find a link below the scrollbox
> that links to the tiddler displayed inside of it.
Your suggestion will work as described. However, the request wasn't
for a link to the tiddler being displayed. Rather, Wim wants to
render a PrettyLink to a *different* tiddler, passed as an
*additional* parameter.
The output from ScrollBox is defined in the ScrollBox##show section,
as follows:
@@display:block;height:$2;overflow:auto;<<tiddler $1
with: [[$3]] [[$4]] [[$5]] [[$6]] [[$7]] [[$8]] [[$9]]
>>@@@@display:block;text-align:right;^^scroll for more^^@@
where
$1 is the tiddler whose content should be displayed,
$2 is the desired height of the scrollbox
$3-$9 are optional transclusion parameters for the tiddler being
displayed
Thus, in order to add another parameter to ScrollBox, Wim needs to re-
purpose [[$3]] so it is used to render a PrettyLink rather than being
passed as a transclusion param, like this:
@@display:block;height:$2;overflow:auto;<<tiddler $1
with: [[$4]] [[$5]] [[$6]] [[$7]] [[$8]] [[$9]]
>>@@@@display:block;text-align:right;^^[[$3]]^^@@
Next, to differentiate the modified ScrollBox from the original,
official distribution version, it MUST BE RENAMED (see TiddlyTools'
Terms of Service). I suggest calling it ScrollBoxWithLink. You would
invoke it using:
<<tiddler ScrollBoxWithLink with: TiddlerName height [[text|
OtherTiddlerName]]>>
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
--
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=en.