I tried to implement a small script to switch between two story view, the 
zoomin and classic and keep open the same tiddler
in focus in both view.

The example is available at: http://hirad.tiddlyspot.com/
The code is in Test tiddler and can be seen in the sidebar.

as you see below, when the story view switched to classic, a macro  
lastseen is called it that
the widget action-navigator is called to open and scroll the tiddler last 
seen (was in focused in zoomin view).

Unfortunately the lastseen does not work! What other solution you propose?

\define lastSeen()
<$action-navigate to={{$:/HistoryList!!current-tiddler}}  $scroll="yes" />
\end

<$reveal type="nomatch" state="$:/state/SampleReveal1" text="classic">
<$button set="$:/state/SampleReveal1" setTo="classic">Classic
  <$action-setfield $tiddler="$:/view" text="classic"/>
<<lasteSeen>>
</$button>

</$reveal>

<$reveal type="nomatch" state="$:/state/SampleReveal1" text="zoomin">
<$button set="$:/state/SampleReveal1" setTo="zoomin">Zoomin
  <$action-setfield $tiddler="$:/view" text="zoomin"/>
</$button>
</$reveal>




-- 
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/7126910e-5fa4-4b6c-808a-d80a1b9b0a56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to