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/894616d1-b8ed-4402-967b-989e25fdd0e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.