<< Back to Programming Forum   Search

Posts 1 - 1 of 1   
Help figuring out svg interaction: 2021-09-06 05:51:07

SimonTemplar96
Level 18
Report
Hi Guys,

I'm thinking of making a little browser game just for fun.

I've been trying to figure out javascipt interaction with svg information from a map file.

I can get the elements fine when I have the svg data directly in the html doc with an <svg> tag. However, when I embed the svg via an <object> tag I can't seem to get at any of the elements within the svg.

suggestions?
Posts 1 - 1 of 1