The <$wikify> forces all content within it to be refreshed, and your div 
looses focus.

\define stateTid()  state-tiddler
\define myTag()     HelloThere


\define next()     
<$vars currentTid={{{[<stateTid>get[text]]}}}>
<$action-setfield $tiddler=<<stateTid>> text={{{ 
[tag<myTag>after<currentTid>]  ~[tag<myTag>first[]]}}}     />
</$vars>
\end

\define previous()
<$vars currentTid={{{[<stateTid>get[text]]}}}>
<$action-setfield $tiddler=<<stateTid>> text={{{ 
[tag<myTag>before<currentTid>] ~[tag<myTag>last[]]  }}}     />
</$vars>
\end

<$keyboard key="right" actions=<<next>> >
<$keyboard key="left"  actions=<<previous>> >
<div style="border:2px solid orange; padding:5px; min-height:128px" 
tabindex=1>
* Current tid:  <$text text={{{ [<stateTid>get[text]] }}}>/>

</div>
</$keyboard>
</$keyboard>


<$list filter="[tag<myTag>]"/>

شب بخیر  

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e2bf497-10a7-48c9-aab8-83a6a601428en%40googlegroups.com.

Reply via email to