Re: [tw5] Re: Dynamic Svg Calendar

2020-11-26 Thread Mohammad Rahmani
Lovely! Please share when you are finished. Best wishes Mohammad -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view

[tw5] Re: Dynamic Svg Calendar

2020-11-25 Thread TW Tones
Example; [image: Snag_2a5cdfe7.png] Tones On Thursday, 26 November 2020 at 17:59:42 UTC+11 TW Tones wrote: > Mohammad, > > Thanks for sharing back again. I did something similar. Including > providing buttons and a tooltip with the date displayed. > > One idea is to determine the days from now

[tw5] Re: Dynamic Svg Calendar

2020-11-25 Thread TW Tones
Mohammad, Thanks for sharing back again. I did something similar. Including providing buttons and a tooltip with the date displayed. One idea is to determine the days from now and have a simple line in the image that hints at how old the date is, forward or back. In thought if a Journal tiddle

[tw5] Re: Dynamic Svg Calendar

2020-11-25 Thread Atronoush
Hi Tones, great idea! Based on your suggestion I changed your code as below: 1. color of top part is sent as macro parameter: e.g: red, #f00, or rgb(128,160,256) 2. the date value is sent as a macro parameter, so a field value can be sent too See attached a JSON containing the revised code and

[tw5] Re: Dynamic Svg Calendar

2020-11-25 Thread TW Tones
Mohammad, Inspirational. Especially the idea of dynamic svg's that respond to content that can become buttons Inspired by your effort, I built a version that shows the year, and uses now, unless a fieldname is provided. The fieldname needs to contain a date according to the date serial number.

[tw5] Re: Dynamic Svg Calendar

2020-11-25 Thread TW Tones
Mohammad, I love it. Especially in the sidebar! Tones On Thursday, 26 November 2020 at 10:00:36 UTC+11 Mohammad wrote: > The tiddler of above post is attached here! > > It seems Google group does not allow to attached this kind of svg! So I > zipped the tiddler. > Unzip and then drag into your

[tw5] Re: Dynamic Svg Calendar

2020-11-25 Thread Mohammad
The tiddler of above post is attached here! It seems Google group does not allow to attached this kind of svg! So I zipped the tiddler. Unzip and then drag into your wiki or into https://tiddlywiki.com/ -- You received this message because you are subscribed to the Google Groups "TiddlyWiki