Hi,
 
Try "this.open" or just "open".  In win XP just must use a full path
when using "open" or setting "location".
 
 

Mit freundlichen Gr��en/Regards
Chris Peto
Freelance System Development, Resource Solutions
Founding Partner, Vectoreal
-------------------------------------
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
http://www.resource-solutions.de <http://www.resource-solutions.de/> 
http://www.vectoreal.com <http://www.vectoreal.com/> 
SVG editor: http://www.resource-solutions.de/svgeditor.html
mailto:[EMAIL PROTECTED]
------------------------------------
Member of: SPARK - SVG Programmers' Application Resource Kit
SVG site:  http://www.schemasoft.org/svg/main.svg
HTML site: http://www.schemasoft.org/





-----Original Message-----
From: Quang Nguyen [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 3. Dezember 2004 02:33
To: [EMAIL PROTECTED]
Subject: RE: [svg-developers] Permission denied problem


Hi,
You should try "top.open" instead of  "window.open".


  _____  

From: Jan [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 03, 2004 5:22 AM
To: [EMAIL PROTECTED]
Subject: [svg-developers] Permission denied problem


I'm trying to use the OnClick event handler for an svg element that 
calls a Javascript function that does a window.open command to 
display a popup window in the browser.  But, I'm getting 
a 'Permission Denied' error.

In my svg code, I have:

<g id='cam1' onclick="showWin('camera1')">

and the showWin Javascript function looks like:

function showDms(winFile)
{  
  nw = window.open
('images/'+winFile+'.htm','new','width=335,height=115,locationbar=yes,
menubar=no,scrollbars=yes,status=no,resizable=yes');   
  nw.focus();
}

Does anyone know how to fix this?

Jan






[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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