Loading ...
Sorry, an error occurred while loading the content.
 

Re: how to communicate between svg files

Expand Messages
  • mustafacamurli
    ... I have two svg files visible at the same time. I found the asnwer for it. That is using animation tag to open one more svg in front of another. Then use
    Message 1 of 3 , Jan 26, 2011
      --- In svg-developers@yahoogroups.com, Oliver Boermans <boermans@...> wrote:
      >
      > On Saturday, 25 December 2010 at 2:24 AM, mustafacamurli wrote:
      >
      > > I have an svg file and I declare an foreignObject inside it. I can use this object as javascript variable by using getElementById. So, I want to access this variable from another svg file. But there is a problem here. When you navigate to another svg file, browser automatically destroy the plugin. If svg is capable of handling frames just as HTML does like <frame> tags, I can use two frames for two svg files, one for storing variables second for navigation page to page. Is there any way of doing this?
      > >
      > >
      > >
      > >
      > To clarify your question I have a few of my own:
      > Are the two SVG files visible at the same time?
      > Are you embedding the SVG in a HTML page or viewing them directly?
      >
      >
      > Ollie
      >
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >

      I have two svg files visible at the same time. I found the asnwer for it. That is using animation tag to open one more svg in front of another. Then use parent object to access previous one.
    Your message has been successfully submitted and would be delivered to recipients shortly.