Javascript Example SVG/XML DOM; Communication between two SVG documents@ +
The second SVG document is called into an empty IFRAME (svg2Frame). Click on its blue circle. Then click on the top SVG's blue square@ +
The SVG2 can access any element in the original via the 'parent.' prefix. The top SVG drawing can communicate to SVG2 via document.frames.svg2Frame prefix
Note: This is the Source File for this example. To view this example Click here