I'm actually using those attributes on the outer element to position the inner element x% and y% releative to the outer svg. However, I will experiment if there's some way I can otherwise position them.
On Thursday, March 10, 2016 at 2:27:37 PM UTC-5, Eric Shulman wrote: > > > On Thursday, March 10, 2016 at 9:34:22 AM UTC-8, Matthew Lauber wrote: >> >> Anyone have a easy solution to using the $link element inside a <svg>? >> Attached I've got my testing example. An empty <a> tag works just fine, >> but using <$link> in its place causes the bow not to render. I't possible >> I've missed something obvious, but I've been banging my head against the >> wall. >> > > Your svg definitions have two *nested* <svg>...</svg> elements. You have: > > <svg ...> > <a> > <svg ...> > ... > </svg> > </a> > </svg> > > and > > <svg ...> > <$link ...> > <svg ...> > ... > </svg> > </$link> > </svg> > > If you remove the outer <svg></svg> pair, the $link widget and the <a> > element work as expected (i.e., creates a link to a tiddler or an href, > respectively). It seems the the only thing the outer <svg> element adds is > width="100%" height="100%", but you should be able to simply move those > attributes to the inner <svg> so the image will appear the same size as > before. > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > InsideTiddlyWiki: The Missing Manuals > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/43ead79a-5d7f-4b1e-803e-60e89a966b62%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

