[tw5] Re: Experimenting "notetips" macro.

2020-04-07 Thread Julio Peña
Mohammad...I'm doing well here also. Yes...duly noted. Thanks again! Regards, Julio On Tuesday, April 7, 2020 at 11:43:37 AM UTC-4, Mohammad wrote: > > Hi Julio, > I am fine thank you! Hope you are fine in this pandemic! > > I am sure you find the small mistake in the code I sent: > > \define

[tw5] Re: Experimenting "notetips" macro.

2020-04-07 Thread Mohammad
Hi Julio, I am fine thank you! Hope you are fine in this pandemic! I am sure you find the small mistake in the code I send: \define nt(text,field) <$set name=tip tiddler=<> field=<<__field__>> > > style="color:red; cursor:help;">$text$ \end There was a <> at end of line 3! Cheers

[tw5] Re: Experimenting "notetips" macro.

2020-04-07 Thread Julio Peña
Mohammad hello, I hope you find yourself well. Wow...a VERY elegant solution! Thanks a million. Added to my notes! All the best, Julio On Tuesday, April 7, 2020 at 5:51:46 AM UTC-4, Mohammad wrote: > > Also give a try on this (Demo: Saq Notetip 1 >

[tw5] Re: Experimenting "notetips" macro.

2020-04-07 Thread Mohammad
Also give a try on this (Demo: Saq Notetip 1 ) \define nt(text,field) <$set name=tip tiddler=<> field=<<__field__>> > > style="color:red; cursor:help;">$text$ <> \end ``` As per Saq Imitaz's suggestion: it works as prescribed! ```

[tw5] Re: Experimenting "notetips" macro.

2020-04-06 Thread Julio Peña
Oh man...u da man Saq...that is wonderful! Thanks again! Regards, Julio On Monday, April 6, 2020 at 6:12:15 PM UTC-4, Saq Imtiaz wrote: > > This might make life even easier by simplifying the parameters to the > macro to just the text to display, and the field. > > \define nt(text,field) >

[tw5] Re: Experimenting "notetips" macro.

2020-04-06 Thread Saq Imtiaz
This might make life even easier by simplifying the parameters to the macro to just the text to display, and the field. \define nt(text,field) <$link to=<> class="no-click" tooltip="{{!!$field$}}">[[$text$|$field$]] \end <> On Tuesday, April 7, 2020 at 12:03:22 AM UTC+2, Julio Peña wrote: > >

[tw5] Re: Experimenting "notetips" macro.

2020-04-06 Thread Julio Peña
Hello there Saq, Worked as prescribed...it was the improvement I was looking for. Much appreciated. Thanks for the pointer! Blessings, Julio On Monday, April 6, 2020 at 4:01:01 PM UTC-4, Saq Imtiaz wrote: > > I am not entirely sure I understand what improvement you are trying to > make. > >

[tw5] Re: Experimenting "notetips" macro.

2020-04-06 Thread Saq Imtiaz
I am not entirely sure I understand what improvement you are trying to make. If the macros are meant to use fields from the same tiddler they are called in, try this to make the macro more reusable: \define nt(text,field) <$link to=<> class="no-click" tooltip="{{!!$field$}}">$text$ \end and