[svg-developers] EventListener problem with mapApp from Carto.net

2006-09-29 Thread richard_smith_ons
Running under IE6 / ASV 3.0.3 I sometimes get the error object doesn't support this property or method line 69 column 2. The line is in MapApp.js and is document.documentElement.addEventListener (SVGScroll,this,false); The problem started occuring when I upgraded the code from 0.99 to 1.1. It

[svg-developers] eventListener is a hoax

2005-05-20 Thread Francis Hemsher
Hey folks, If you understood xml you would see that setAttribute(onclick myFunction()) is how you accomplish events. Gad! I've been seeing this eventListener thingie for years and it's about time it was removed from SVG!!! Francis - To unsubscribe send a message to: [EMAIL PROTECTED]

[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

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

2005-05-19 Thread Jorg Heymans
We've had some difficulties with this as well yes. The probleem seemed to go away when you deregister the eventlisteners onunload(). HTH Jorg skrellkolja wrote: 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

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

2005-05-19 Thread Renato Salas
Hi: I had the same problem. My IE crashed when I remove an element that has an event associated with it. (*)For instance, having: var labelRectElement = document.createElementNS(svgNS,rect); labelRectElement.addEventListener(mouseover,this,false); //adding the labelRectElement to another node

Re: [svg-developers] eventlistener

2004-11-04 Thread Antoine Quint
Hi Olaf, On 4 nov. 04, at 11:39, Olaf Schnabel wrote: I have a simple question: is it possible to check the existence of an eventlistener? I added a listener with ECMAScript: document.documentElement.addEventListener(keypress,this,false); But now I want to remove the eventlistener, if it

Re: [svg-developers] eventlistener

2004-11-04 Thread andré m. winter
hi olaf, you could check the event attribute's value and decide on that what to do next. if the eventhandler (eg. click) is not definded the according attribute (eg. onclick) should be empty. or am i missing something here? btw i stopped playing around with eventlisteners and use only the