<$action-navigate $to="target" />
<$action-navigate $to=<<target>> />
Hi I am a Tiddler
<$action-navigate $to={{MyTiddler!!SomeRef}} />
\define gotoSlide()<$set name="target" value={{$:/HistoryList!!current-tiddler}}><$action-navigate $to=<<target>>/></$set>\end
Action widgets need a trigger to action them. Buttons are the most common. Where is the trigger in this case?
Tony
If you think about it the following does not delimit the value correctly when there is a space
value={{$:/HistoryList!!current-tiddler}}
I think putting quotes around this may not work.
Wikify will work text="{{$:/HistoryList!!current-tiddler}}"
Then put in the wikified variable
Value=<<wikifyvar>>
Regards
Tony
\define target() My Little Tiddler
<$button>Go forth
<$action-navigate $to=<<target>> />
</$button>
<$action-sendmessage $message="tm-full-screen"/>
<$action-setfield $tiddler="$:/view" text="zoomin"/>
<$action-sendmessage $message="tm-full-screen"/> <$set name="previous-story-view" value={{$:/state/tiddlyshow/presentation!!story-view}} > <$action-setfield $tiddler="$:/view" text=<<previous-story-view>> /> </$set>
<$button>Zoom in
<$set name=vlastviewed tiddler={{$:/HistoryList!!current-tiddler}} field="text">
<$action-setfield $tiddler="$:/view" text="zoomin"/>
</$set>
</$button>
\define newList() [[$(v1)$]] $(v2)$
<$button>Change List
<$set name="v1" value={{$:/HistoryList!!current-tiddler}}>
<$set name="v2" filter=" [list[$:/StoryList]]">
<$action-setfield $tiddler="$:/StoryList" list=<<newList>> />
</$set>
</$set>
</$button>