Thanks so much. That worked beautifully! I actually created a new macro with the added lines and called it simple-navigation-close. Best of both worlds that way.
Damon On Monday, October 14, 2019 at 12:57:40 PM UTC-7, Mohammad wrote: > > One simple solution is using Zoomin storyview! > But it is possible to add a close message! So you can use the below > modified version > > \define simple-navigation(tag:"demo", class) > <$list filter="[all[current]tag[$tag$]]"> > <div class="$class$"> > <$list filter="[tag[$tag$]before<currentTiddler>]" variable="prevTiddler"> > <$button to=<<prevTiddler>> tooltip=<<prevTiddler>> > class="tc-btn-invisible">previous > <$action-sendmessage $message="tm-close-tiddler" $param=<<currentTiddler>>/> > </$button> > </$list> > <$list filter="[tag[$tag$]after<currentTiddler>] > [tag[$tag$]before<currentTiddler>] +[count[]] -1" variable=ignore>|</$list> > <$list filter="[tag[$tag$]after<currentTiddler>]" variable="nextTiddler"> > <$button to=<<nextTiddler>> tooltip=<<nextTiddler>> > class="tc-btn-invisible">next > <$action-sendmessage $message="tm-close-tiddler" $param=<<currentTiddler>>/> > </$button></$list> > </div> > </$list> > \end > > > > --Mohammad > > > On Monday, October 14, 2019 at 10:18:31 PM UTC+3:30, Damon Pritchett wrote: >> >> Hey Mohammad, >> >> I like your utility plugin very much! Thanks. I was wondering what >> modifications to the simple-navigation macro could be done to close the >> current tiddler when using the previous or next buttons. >> >> Thanks, >> >> Damon >> >> On Friday, October 11, 2019 at 7:41:21 AM UTC-7, Mohammad wrote: >>> >>> *Announcement:Utility plugin* >>> *Date: Oct 11, 2019* >>> *Release: 0.5.0 beta* >>> *Status: in progress* >>> >>> >>> This is to announce the *beta *release Utility plugin! It is a >>> complement to Shiraz. This plugin targets who like authoring specially >>> developer. >>> >>> Demo: https://kookma.github.io/TW-Utility/ >>> Source: https://github.com/kookma/TW-Utility >>> >>> Your feedback is highly welcome. >>> If you like it star it at GitHub (https://github.com/kookma/TW-Utility) >>> --Mohammad >>> >>> >>> Utility Plugin >>> <http://127.0.0.1:9999/#>11th October 2019 at 4:28pm >>> >>> Tiddlywiki5.1.19+ >>> >>> LicenseMIT >>> >>> Release0.5.0 beta >>> >>> Statusstable >>> >>> What is Utility plugin? >>> >>> Utility plugin is a small set of stylesheets, templates and macros. It >>> has different tools for customizing and authoring specially for developers. >>> >>> Install >>> >>> Packaged plugin >>> >>> 1. Drag and drop $:/plugins/kookma/utility >>> <http://127.0.0.1:9999/#%24%3A%2Fplugins%2Fkookma%2Futility> into >>> your wiki >>> 2. Save and reload your wiki >>> >>> Client-Server installation (separate files) >>> >>> - For Node.js (server version) download the utility folder from >>> source <https://github.com/kookma/TW-Utility> folder and paste in >>> your Tiddlywiki plugins folder >>> - For local installation put the utility folder into your local >>> plugins folder under your wiki folder >>> >>> *It is highly recommended to backup your data before trying any new >>> plugin! Do it before installing Utilty* >>> >>> Tutorials >>> >>> Utility Tutorial <http://127.0.0.1:9999/#Utility%20Tutorial> is a good >>> point to start. Also have a look at indivial demo. >>> >>> >>> 1. Custom transclusion >>> <http://127.0.0.1:9999/#demo%2Ftransclusion-macro> >>> 2. Wikitext macro <http://127.0.0.1:9999/#demo%2Fwikitext-macro> >>> 3. Show macro <http://127.0.0.1:9999/#demo%2Fshow-macro> >>> 4. Simple navigation >>> <http://127.0.0.1:9999/#demo%2Fsimple-navigation> >>> 5. Fields in view mode <http://127.0.0.1:9999/#demo%2Fviw-fields> >>> 6. Tiddlywiki version badge >>> <http://127.0.0.1:9999/#demo%2Futility-settings> >>> 7. Svg image in wikitext <http://127.0.0.1:9999/#demo%2Fdoc-svg> >>> 8. Fields in view mode >>> <http://127.0.0.1:9999/#demo%2Fcolorful-sidebar-tab> >>> >>> Acknowledgement >>> >>> >>> - Jeremy Ruston >>> - Ton Gerner >>> - Mark s >>> - BTC >>> - Anthony Muscio (TonyM) >>> >>> HistoryRevision 0.5.0 beta >>> >>> >>> - Date: [10th Oct 2019] >>> - beta release >>> - documentation improved >>> >>> -- 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/eba88ea7-29e9-4ab4-ac92-db15bb1325b9%40googlegroups.com.

