[svg-developers] sudden JS errors (???)

2006-08-10 Thread skrellkolja
Hi! Has IE come with some relevant updates lately. I suddenly get loads of JavaScript errors in my SVG apps. On printNode i get "Object expected" and it seems like mouseevents are causing errors. What is even more frustrating is that suddenly IE has stopped telling what type of error that occur

[svg-developers] Re: browsing an XML tree

2004-09-10 Thread skrellkolja
thx alot for your help. i've testing some code of my own and i'm starting to understand this shit :) but i'm struggling with one more thing. i can't get the script to return a DOM Node. i need it to do so in order to be able to use certain properties and methods. it only returns DOM Element, Do

[svg-developers] ActiveXObject Error

2004-09-13 Thread skrellkolja
I have a file.js javascript file which i use for manipulating SVG. as a source for the manipulation i have an XML tree in dataBase.xml. i'm going to browse this tree using xpath. but i keep getting the error: "ActiveXObject is undefined". The line on which the error occurs looks like this: var

[svg-developers] Re: ActiveXObject Error

2004-09-15 Thread skrellkolja
thx, but nope. I'm getting the same error. SkrellK --- In [EMAIL PROTECTED], Holger Will <[EMAIL PROTECTED]> wrote: > Hi SkrellK > try : > > var XMLTree = new ActiveXObject("msxml2.DOMDocument"); > > that might help ! > > Holger > > &g

[svg-developers] IE fatal cursor error?

2005-03-09 Thread skrellkolja
I'm working on making an SVG text editor. But it seems to be suffering from a fatal software bug. At least that it waht it seems like. When writing text into my editor and placing the mouse over the text, so the cursor changes to the text-cursor, Internet Explorer seems to randomly terminate

[svg-developers] What is happening? I give up!

2005-03-30 Thread skrellkolja
I want to check if a node exists in order to find out if i shall create it or not. The var node represents a unique ID, in my case the number 1. What happens is that i get the error "SVGDoc.getElementById(...) is null or not an object.". This would probably make u say "But, dude, be sure the

[svg-developers] Re: What is happening? I give up!

2005-03-30 Thread skrellkolja
Corrections to the code: if (!checkConent(node)) shal be if (!checkContent(node)) and a + is missing in the alert statement. Just some typos in the post and not in the actual code --- In svg-developers@yahoogroups.com, "skrellkolja" <[EMAIL PROTECTED]> wrote: > > I w

[svg-developers] Re: What is happening? I give up!

2005-03-30 Thread skrellkolja
--- In svg-developers@yahoogroups.com, Bjoern Hoehrmann <[EMAIL PROTECTED]> wrote: > * skrellkolja wrote: > >The var node represents a unique ID, in my case the number 1. What > >happens is that i get the error "SVGDoc.getElementById(...) is null or > >not an object.&q

[svg-developers] Re: What is happening? I give up!

2005-03-30 Thread skrellkolja
--- In svg-developers@yahoogroups.com, Bjoern Hoehrmann <[EMAIL PROTECTED]> wrote: > * skrellkolja wrote: > >The var node represents a unique ID, in my case the number 1. What > >happens is that i get the error "SVGDoc.getElementById(...) is null or > >not an object.&q

[svg-developers] Re: What is happening? I give up!

2005-03-30 Thread skrellkolja
--- In svg-developers@yahoogroups.com, Bjoern Hoehrmann <[EMAIL PROTECTED]> wrote: > * skrellkolja wrote: > >The var node represents a unique ID, in my case the number 1. What > >happens is that i get the error "SVGDoc.getElementById(...) is null or > >not an object.&q

[svg-developers] Object orienting SVG

2005-03-31 Thread skrellkolja
Hi all. This is my case. I've recently made a stand alone text editor in SVG. This is supposed to be used as a supplement to an SVG application which requires the possibility to add commetns to elements. Multiple textboxes at the same time sal be possible which lead to this: I want to "obje

[svg-developers] Removing the right click menu ?

2005-04-06 Thread skrellkolja
In the Norwegian language we have a distinct character "å". I'm making an SVG text editor, but when pushing this button on the keyboard, the right click menu just appears. Is there a way to make this key respond to keyboard events the same way all the others do, not popping up the right click

[svg-developers] IE terminating on refresh.

2005-04-12 Thread skrellkolja
Hi. Anyone familiar to this problem? It's an SVG application supported by javascript. When i pres refresh in the browser it just terminates, and the standard "Do you want to report error"-window appears. Sometimes refreshing works fine, but then it suddenly starts crashing. Anyone who knows w

[svg-developers] Re: IE terminating on refresh.

2005-04-13 Thread skrellkolja
else { > registeredEvents[i].removeListener(); > } > } > registeredEvents = temp; > } > > finally, replace all occurences of "object.addEventListener > (type,handler,false);" with "registerEvent(object,type

[svg-developers] Re: IE terminating on refresh.

2005-04-13 Thread skrellkolja
error message at all. Again, thanks alot! :) --- In svg-developers@yahoogroups.com, "skrellkolja" <[EMAIL PROTECTED]> wrote: > > Thanks alot for your effort higorion, but unfortunately this didn't > help at all. > > I replaced the addEventListeners as yo

[svg-developers] eventListener crashing IE ????

2005-05-19 Thread skrellkolja
I've been working with SVG for a while now and have encountered a very irritating bug. At least that what I think it is. Suddenly IE starts terminating on refresh or when trying to enter another http-address. I have tried to understand when the problem occurs and it seems to be after adding an e