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/e6b68ee5-d4eb-462c-9035-f5b8dbbb628ao%40googlegroups.com.

Reply via email to