I imagine some would find modals annoying. But for this use case it is great.
I want users who are not used to TiddlyWiki to open modals instead of links. That way, they don’t lose their place as they read longer indexes and outlines and lists that lead to additional content.
The example is in Spanish, but just click on one of the modal buttons to open a modal to a secondary index, then again to open actual content. Click cerrar (close) to return to the previous tiddler.
Create an image tiddler for the editor toolbar button
Title: $:/yournamehere/images/Modal (must be the same as the icon tiddler from step 4)
Text: Modal+
Now go to your parent tiddler. Insert the modal macro in the parent tiddler where desired, using the Modal+ button in your editor toolbar. Write or paste the name of the child tiddler in between the quote marks in the macro.
Save parent tiddler and click on the modal button to see the child tiddler in a modal. Click ‘Close’ to close modal.
Thanks to the do not print stylsesheet, the modal button will not print if you decide to print the parent tiddler.
Thanks, Eric, thanks Dave.
I tried it. I have four new system tiddlers. I was really hoping it would work.
But thank you both, anyway. I appreciate the time.
Download the attached json file. Then from your computer, drag to your TiddlyWiki file and import. Now you should see an Info+ button in your editor toolbar. Click it and hopefully a <<moreinfo "">> should appear in the tiddler being edited. In the “” type or paste the name of an existing tiddler Save, then you should see a modal button. Click that and your other tiddler should appear in the modal. If not, I don’t know what to tell you!