Hey Felicia,

I decided to keep that formatting I had (i.e. the little light blue 
borders) as a blatant reminder that the values showing are calculations, 
and because I rather like the large hover area.

However, I really like the superscript thing for "little fishy" tiddler 
links when I find a regular tiddler link a bit distracting when the link 
formatting doesn't match regular text formatting in things like table 
column titles.  (I put that in a separate post:  How To: Replacing manual 
tiddler links with transcluded little fishy links 
<https://groups.google.com/g/tiddlywiki/c/NX0sPUvzF1k> .)

On Wednesday, September 16, 2020 at 5:20:57 AM UTC-3 Felicia Crow wrote:

> Hi Charlie,
>
> it is great to see your progress overall with your wiki, but especially 
> with macros and filters when thinking about our last conversation a few 
> days ago. Thanks for sharing.
>
> One suggestion: Depending on your preference of visualization you could 
> use the sup tag to add a superscript question mark or similar in your 
> output instead of the border:
>
>
> The affected line in your macros - A2W as example exactly the same change 
> with the others - would change from this:
> <div class="tooltip"><<wattage>> W
>
> To This:
> <div class="tooltip"><<wattage>> W<sup>?</sup>
>
>
> Kind Regards,
> Felicia
>
>
>
>
> On Wednesday, 16 September 2020 04:03:27 UTC+2, Charlie Veniot wrote:
>>
>> These are things I’ve done in my “Urban Off Gridding for Laypersons 
>> <https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html?context=OffGridding>”
>>  
>> TiddlyWiki.
>>
>> G’day,
>>
>> I’ve been finding myself doing way too much arithmetic with my calculator 
>> lately, mostly trying to figure out the wattage or items I’ve purchased 
>> (i.e. Amps x Volts = Watts) and the cost of devices plugged into AC outlets 
>> (i.e. Device Wattage x Hours x Utility Rate).
>>
>> If finally dawned on me:  why am I entering all of these amounts in 
>> tiddlers (for information purposes) and entering the majority of those 
>> amounts again in a calculator to then copy final totals into my tiddlers ?
>>
>> Way too much work, so I decided to learn a few TiddlyWiki things to make 
>> life a little easier and the results a little prettier.  These things 
>> include:
>>
>>    - 
>>    
>>    Learning about basic math operators
>>    - 
>>    
>>    Learning about just enough CSS to setup a custom tooltip class
>>    - 
>>    
>>    Learning about macros
>>    - 
>>       
>>       Pass values to the macros
>>       - 
>>       
>>       Do math operators
>>       - 
>>       
>>       Return a value wrapped with “tooltip stuff” to show information 
>>       related to the value
>>       
>>
>> Should you be interested in any of that stuff, the 4 screenshots further 
>> below will let you know where to find the “goodies(?)” in my “Urban Off 
>> Gridding for Laypersons 
>> <https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html?context=OffGridding>”
>>  
>> TiddlyWiki .
>>
>> Cheers !
>>
>> Design Results: a value calculated via macro appears with a blue-ish 
>> border, indicating that more info is available as a tooltip when the mouse 
>> pointer hovers over the value.
>>
>> [image: FinalResult.png]
>>
>>
>> The WikiText Macro call to make the “magic” happen (AmpsToWatts, first 
>> parameter is Amps, second parameter is Volts, result is Watts).
>>
>> [image: FinalResultWikiText.png]
>>
>>
>> The “Energy Info” Macros
>>
>> [image: EnergyInfoMacros.png]
>>
>>
>> The CSS Magic for the custom tooltip (slightly modified version of the 
>> “Basic 
>> Tooltip" from w3schools.com 
>> <https://www.w3schools.com/css/css_tooltip.asp>)
>>
>> [image: CssStylesheetForTooltip.png]
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

-- 
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/2404f1cc-f473-4d02-8a84-46779f260b1bn%40googlegroups.com.

Reply via email to