I know I'm a little late to the party here, but I think your first solution 
may not have worked because it didn't have a module-type. If you have...

module-type: utils

...then tiddlywiki will load this tiddler on startup (and put any existing 
exports int utils, which will be none). As it is, tiddlywiki won't touch 
your tiddler. You have it specified as javascript, but tiddlywiki has no 
reason to believe it should compile it yet.

On Sunday, April 18, 2021 at 12:52:06 AM UTC-4 Mohammad wrote:

> Thank you Mark!
>
> I will give a try!
>
>
>
> Best wishes
> Mohammad
>
>
> On Sun, Apr 18, 2021 at 8:44 AM 'Mark S.' via TiddlyWiki <
> [email protected]> wrote:
>
>> In that case, thanks to Brian's input, I seem to have gotten it to work, 
>> though maybe only once. Here's a screen shot without the code:
>>
>> [image: 1618718712_2105_17.04.2021_1366x768.png]
>>
>> and here's a screenshot with the code
>>
>> [image: 1618718788_2106_17.04.2021_1366x768.png]
>>
>> I only tested once. For about 3 seconds. I have no idea if it breaks with 
>> repeated use, as  Brian suggested.
>>
>> Good luck!
>>
>>
>> On Saturday, April 17, 2021 at 8:55:35 PM UTC-7 Mohammad wrote:
>>
>>> On Sun, Apr 18, 2021 at 1:18 AM 'Mark S.' via TiddlyWiki <
>>> [email protected]> wrote:
>>>
>>>> Hi Mohammad,
>>>>
>>>> How do you test your code? On a small device? Portrait mode? Or ... ?
>>>>
>>>
>>> Hi Mark, 
>>> I used the code on a large screen (laptop)! I attached the three 
>>> tiddlers show to the JS, CSS and the test!
>>> To examine the code you need to add/remove some text to push the tooltip 
>>> to the edge of the screen!
>>>
>>>>
>>>> -- 
>> 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/280af977-1b60-4b87-a154-27d91a0393b1n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/280af977-1b60-4b87-a154-27d91a0393b1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/ff334b94-c767-4e99-bbec-aed95407ec4dn%40googlegroups.com.

Reply via email to