[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread Magnus
I usually run the svg code thru https://petercollingridge.appspot.com/svg-editor My favorite svg-minimizer :) Den söndag 25 februari 2018 kl. 14:07:41 UTC+1 skrev @TiddlyTweeter: > > One method to help debug SVG issues is to take the SVG code and put it > through a "MINIMISER" to strip out

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread BJ
that should have read double blank lines On Sunday, February 25, 2018 at 6:46:59 PM UTC+1, BJ wrote: > > note that tiddlywiki turns double spaces into paragraphs - so I would > advise to remove all blank lines > > On Sunday, February 25, 2018 at 3:40:03 PM UTC+1, oleghbond wrote: >> >>

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread BJ
note that tiddlywiki turns double spaces into paragraphs - so I would advise to remove all blank lines On Sunday, February 25, 2018 at 3:40:03 PM UTC+1, oleghbond wrote: > > Thanks, your advice helped partially. > > I passed the latter svg-image through Minimiser in the following way: all >

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread oleghbond
Thanks, your advice helped partially. I passed the latter svg-image through Minimiser in the following way: all the options were switched ON, except (1) Show original, (2) Remove xmlns, (3) Style to attributes, (4) Move group attrs to elements, (5) Remove style elements. After that the

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread @TiddlyTweeter
One method to help debug SVG issues is to take the SVG code and put it through a "MINIMISER" to strip out stuff that may be proprietary (i.e. won't work universally reliably), here is a good one of many: https://jakearchibald.github.io/svgomg/ SVG should work well across browsers if its well

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread BJ
I am not sure if the 
> Thanks again, Ton,
>
> Usually I work with Win 10 + Chrome + TW 5.1.15 on Node.js.
>
> I've got an svg-file:
> 

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread Ton Gerner
Hi, Using type image/svg+xml has restrictions (sandbox) see https://tiddlywiki.com/#Using%20SVG I don't know what goes wrong with the embedded SVG. Hopefully others can help. Cheers, Ton -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-25 Thread Ton Gerner
Hi, I can confirm: 1. SVG code opened in the browser (Linux Mint, Firefox) looks normal (Rectangle, Ellipse, Polygon + lines). 2. SVG code in Inkscape, SVG-edit or SVG Viewer shows normal 3. SVG code in a tiddler in TW5 shows weird (Linux Mint, Firefox, Chrome) but the link from

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-24 Thread oleghbond
Thanks again, Ton, Usually I work with Win 10 + Chrome + TW 5.1.15 on Node.js. I've got an svg-file: http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd;> http://www.w3.org/2000/svg; xmlns:xlink= "http://www.w3.org/1999/xlink; xmlns:ev="http://www.w3.org/2001/xml-events; width="5.03089in"

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-24 Thread Ton Gerner
Hi, The pictures you give now are not related to the code you gave in your first post. That code gives two rectangles (I entered your code in a tiddler at twiddlywiki.com): > When I say "dead (non responsive)" I mean, that after drag-and-drop the > svg-image, > >1. I do not see change

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-24 Thread oleghbond
Thanks Ton for your response. When I say "dead (non responsive)" I mean, that after drag-and-drop the svg-image, 1. I do not see change of the mouse arrow while hovering the active region and 2. clicking the mouse does not give transfer by the reference. In case I put the

[tw] Re: Interactive SVG Image Map does not work for TW5

2018-02-24 Thread Ton Gerner
Hi, I don't know what you mean by dead (non responsive); with your code in a tiddler I can click the second rectangle which brings me to Google. It acts the same as this code opened in a browser. What else would you expect? As Tobias shows you can use CSS for other effects. Cheers, Ton --