<community>of XML and SVG Developers</community>
This is a discussion on window.open, not a function within the SVG Questions forums, part of the SVG Forums category; I am having major problems with an error, window.open "is not a function" it is just a simple window.open... var ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| it is just a simple window.open... var newSiteWindow = open("scbtemplate.htm","siteWindow","width=300,hei ght=400"); If I use just open(), it says open not defined. It diplays the alerts I have in the function, and I can pull attributes from the circle elements. Just when it gets to the window.open it doesn't like. If I place the code in an html page, it works. I have an .asp page generating an svg document and generating circle elements from a database. I want to click on the circle element to have another small window open. It was working at one time when the page was just a svg document. Could I be referencing it wrong in some way?? I have looked in these forums and others, searched the Internet for any answer and have yet to find the way to make it work. Any ideas?? Thanks, Brian |
| |||
|
Michel, yes, if I try open("scbtemplate.htm","","width=300,height=400"), it says "open is not defined" if I try self.open("scbtemplate.htm","","width=300,height=4 00"), it says "self is not defined" window.open, it says "window.open is not a function" I am using ASV3 and IE6. I am wondering if I am in the right spot when I call the open(). ie.. top of the document, things I have read about the opener window. I don't know, I just trying to guess at anything. Is this not a common error?? Thanks, Brian |
| |||
|
Michel, by the way, I was trying to look at your page you mentioned in other posts http://pilat.free.fr/english/svg_lib/index.htm. It's not working. I was hoping to look at your examples trying to find a fix. Is your page down, gone?? Brian |
| |||
|
Michel, If I load just the .svg page, I can click on the circle and it opens a new window, no problem. If I load the .asp page that generates the svg with response.write's and such, I get the errors. The two pages are basically the same, just looping through a database to create circle elements. I don't know, any ideas?? Brian |
| |||
| Quote:
http://pilat.free.fr/english/svg_lib/index.htm This run ... Michel |
| |||
|
I am having similar problems. Window.open works when svg is embedded in html file but does not work when svg is generated from the server. I wonder if this is a know problem because I seem to recall a similar problem when trying to use tooltips popups. zbob |
| |||
|
zbob, Yea, thats the problem I am having, still do not have it figured out. This didn't work for me, but you can try "self.open" or just "open" I get "self(open) is not defined" or "window.open is not a function". I am stuck. ![]() If you get it figured out, let me know. Thanks, Brian |
![]() |
| Tags |
| function, windowopen |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Inkjet Printer Inks...
Buy your inkjet printer inks at great savings.
HARD DISK DRIVE DATA RECOVERY LANCASHIRE
Need hard disk drive data recovery? Visit this link for cost effective and professional data recovery.