Hi Mohammad,
It appears to me that the effects of changing the view occur *after* the
button has run, so any navigation is no longer in effect. It might be
possible to re-order the StoryList, so that the tiddler you want to
navigate to is at the top of the list. Since the restore puts the user at
the top of the page (or leaves the user there), that is *almost* the same
thing as navigating to the item.
-- Mark
On Sunday, July 29, 2018 at 8:10:58 PM UTC-7, Mohammad wrote:
>
> Mark, check the reverse!
> When you go back to classic view from zoomin view , it does not work!
>
> Let me know your solution!
>
>
> Mohammad
>
>
> On Monday, July 30, 2018 at 3:55:53 AM UTC+4:30, Mark S. wrote:
>>
>> When I zoomin like this:
>>
>> <$button>Zoom in
>> <$set name=vlastviewed tiddler={{$:/HistoryList!!current-tiddler}}
>> field="text">
>> <$action-setfield $tiddler="$:/view" text="zoomin"/>
>> </$set>
>> </$button>
>>
>> It always goes to the last spot in the history list. Is that not what you
>> expect/want ?
>>
>> -- Mark
>>
>> On Sunday, July 29, 2018 at 1:28:34 PM UTC-7, Mohammad wrote:
>>>
>>> Mark!
>>> I use a macro! I click on a button to go full screen and zoomin view!
>>> something like this
>>> <$action-sendmessage $message="tm-full-screen"/>
>>>
>>> <$action-setfield $tiddler="$:/view" text="zoomin"/>
>>>
>>>
>>>
>>> In the macro I store, the current story view in a state tiddler
>>> When I switch back, I read the state tiddler and overwrite the $:/view
>>> something like this
>>>
>>> <$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>
>>>
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5b2b99c1-3228-4763-90cc-e3f11df91b44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.