hmmmm, so that’s the easy way.
Is there a hard way I can try?
…because I want to have links in the SVG that change the browser location. Links in the SVG, in an IFRAME, change what’s shown in the IFRAME . . .
I suspect that embedding j/s in the topic, just before the IFRAME, and calling a j/s function in the page onclick in the SVG… that’s not going to work either.
Am I making sense? Should I be adding some thin j/s code ala Mitigate XSS Attacks with Content Security Policy and then trying to call that from within the SVG in the IFRAME? …or is “in the IFRAME” an airtight fortress?
Maybe I should be asking how I can directly inline the SVG into the page? Then use theme-component injected j/s to interact with my other server to dynamically update the SVG?
Cluebat please