Hey Dave...worked like a charm! It's a little more work, but it works...cool. Muchas gracias amigo. 👍
On Monday, November 16, 2020 at 7:49:53 PM UTC-5 David Gifford wrote: > Hi Julio > > Probably not what you are looking for, since it involves a mediating > tiddler, but if you create a tiddler Avatarimg and add [img width="50%" > [img_avatar.png]], adjusting the width to your liking, <<showModal > "Avatarimg">> it works fine. Also lets you set the width, since an image > could be too big and make the modal have scrollbars, which is no fun. - Dave > > On Monday, November 16, 2020 at 6:27:13 PM UTC-6 [email protected] wrote: > >> Hello there all, >> >> @David': >> Enjoying your modal here....however... >> It looks like your modal doesn't play too nicely when it comes to images. >> Would it be possible to tweak this modal to work with images? or >> Was it only meant for text content? >> >> Or...maybe it's the way I'm using the syntax? >> >> <<showModal "img_avatar.png">> >> >> img_avatar.png being the name of the image tiddler. >> >> At your leisure no worries. Thanks in advance. >> >> >> Best wishes, >> Julio >> >> On Saturday, November 7, 2020 at 2:28:27 PM UTC-5 Ste wrote: >> >>> I may be way off here, I didn't really understand the queston, but here >>> Is Jeds code for the help button which is what your link reminded me of. >>> >>> \define HelpButton(label, ButtonText:?) >>> ^^(<$button popup="""$:/temp/popup/$(currentTiddler)$/$label$""" >>> class='tc-btn-invisible tc-tiddlylink'>$ButtonText$</$button>)<$reveal >>> type='popup' state="""$:/temp/popup/$(currentTiddler)$/$label$"""><div >>> class='tc-drop-down' >>> style='width:150px;max-width:75vw;white-space:pre-wrap;padding:10px;text-align:left;font-size:1.3em;border-radus:0.5em;'><$transclude >>> >>> field="""$label$"""/></div></$reveal>^^ >>> \end >>> >>> On Saturday, 7 November 2020 at 18:48:07 UTC Ste wrote: >>> >>>> Ah! Have looked! Very nice. Like a posher version of Jed's help >>>> Button macro! (it's somewhere from inmysocks). >>>> >>>> On Saturday, 7 November 2020 at 15:25:29 UTC David Gifford wrote: >>>> >>>>> Here is what it looks like in practice. Click "Golden Rule, the" from >>>>> the articles tab. >>>>> https://giffmex.org/experiments/asterisk.modal.nt1.html >>>>> >>>>> On Saturday, November 7, 2020 at 9:02:36 AM UTC-6 David Gifford wrote: >>>>> >>>>>> I have been playing around with Eric's "hack" today. And I created an >>>>>> editortoolbar button to insert the macro. >>>>>> >>>>>> Used in conjunction with the Freelinks plugin, this appears to be a >>>>>> really great way to create and read content: >>>>>> >>>>>> 1. Create an article with minimal content, and add subordinate >>>>>> content that can be viewed in modals without leaving the originating >>>>>> tiddler. This is helpful since closing a target tiddler in some >>>>>> situations/view modes in TiddlyWiki does not take you back to the >>>>>> originating tiddler. >>>>>> 2. By inserting the macro with a button, and inputting the title, you >>>>>> create a 'link' that shows the tiddler in the modal if it exists, and >>>>>> you >>>>>> have a button in the modal to create the tiddler in edit mode if it does >>>>>> not. >>>>>> 3. If you want links also without doing two separate steps, you can >>>>>> use the Freelinks plugin. >>>>>> >>>>>> Now if only the comptext plugin gave you autocomplete suggestions for >>>>>> this macro as it does for links...but even so, it is a great process for >>>>>> writing articles uncluttered by all the details, but giving instant >>>>>> access >>>>>> to those details without leaving the context of the article. >>>>>> >>>>>> Thanks again, Eric! >>>>>> >>>>>> On Thursday, October 29, 2020 at 6:06:18 PM UTC-6 David Gifford wrote: >>>>>> >>>>>>> Hi all >>>>>>> >>>>>>> Any way to add a link to the tiddler after the title of the tiddler >>>>>>> in a modal? Or render the title as a link? >>>>>>> >>>>>>> I would like to make more use of modals, but I know some users will >>>>>>> want to click on a link in the modal to open up the actual tiddler, so >>>>>>> they >>>>>>> can print, drag, edit, etc. >>>>>>> >>>>>>> I know it's as simple as copying the title and putting it in the >>>>>>> search window, but some people will not pick up on that... >>>>>>> >>>>>> -- 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/157e81d5-fa78-45aa-a639-245834715c34n%40googlegroups.com.

