View Single Post

  #2 (permalink)  
Old 03-18-2004, 02:34 AM
Anonymous
Guest
 
Posts: n/a
Default Re: Problem with functions

Quote:
Originally Posted by Seb
I open a pop-up window with a function from my svg file.Once the window is opened, i select a file name and i would like to call a function from my svg file and put in parameter my selected file. i have tried to call my function with parent.Import('the name of my selected file'); and it is not working. I have tried opener.Import(...), still not working.
You have two instances of browser, so you cannot communicate between ...
You can
- make popup window as part of your svg, use getURL, parseXML and appendChild to draw it. Remove all when user close it.
- from popup, link to your main svg with parameters, need server language and reloading of your main svg.

Michel
Reply With Quote