Jeff thanks for the reply.

I have tried window.close and is not working. self.close() on the 
other hand works.

The svg file are not embed in HTML page.I am running them directly 
to the browser.Is that a problem?

--- In [email protected], "Jeff Schiller" 
<[EMAIL PROTECTED]> wrote:
>
> In the second window, use the window.close() method.
> 
> --- In [email protected], "chmavrog" <chmavrog@> 
wrote:
> >
> > Hi my code is that:
> > 
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
> > "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd";>
> > <svg xmlns="http://www.w3.org/2000/svg"; width="100%" 
height="100%" 
> > xmlns:xlink="http://www.w3.org/1999/xlink";>
> > <defs>
> > <script type="text/ecmascript">
> > <![CDATA[
> > function showDms()
> > {
> > nw = open
> > 
('http://localhost/svg_demos1/interface.svg','new','width=335,height=
> > 
115,locationbar=yes,menubar=no,scrollbars=yes,status=no,resizable=no'
> > );
> > }
> > 
> > ]]>
> > </script>
> > </defs>     
> >     <g id="g1" onclick="showDms()"> 
> >             <rect width="100" height="100" fill="red" 
> > id="rect1"></rect>
> >     </g>
> > </svg>
> > The above works for IE 6 and ASV3.0.
> > 
> > The interface.svg document has a textbox and 2 buttons labeled 
OK and
> > Cancel(using Cartonet widgets).
> > How can i close the new window when pressing the OK button?
> >
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to