<br><br><div><span class="gmail_quote">On 2/5/07, <b class="gmail_sendername">Oliver Christen</b> <<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">the addEventListener error is strange.</font></div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff">
<div><font size="2">It is as if the object isnt available when IE try to use
it.</font></div>
<div><font size="2">I had this kind of problem a few time with IE, but not when
using tooltips.</font></div>
<div><font size="2">IE tries to access a property or object that hasnt been
initialised yet.</font></div>
<div><font size="2">The easy way to find if that is the problem is to try on an
old computer ^_^. It will work there because js will be handled more
slowly.</font></div></div></blockquote><div><br>....<br> _observeAndCache: function(element, name, observer, useCapture) {<br> if (!this.observers) this.observers = [];<br> if (element.addEventListener) { ((((THE SCRIPT STOPS HERE))))
<span style="font-weight: bold;"></span><br> this.observers.push([element, name, observer, useCapture]);<br> element.addEventListener(name, observer, useCapture);<br> } else if (element.attachEvent) {<br>
this.observers.push([element, name, observer, useCapture]);<br> element.attachEvent('on' + name, observer);<br> }<br> },<br>......<br> <br>Yes, it is prototype.js, see up where the debugger complains<br></div>
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff"><div><font size="2">Im not even sure where the error is triggered, as its not said
in your error message :(</font></div>
<div>Line 1727 seems to refer to prototype.js but as to why the error would
be thrown there...</div></div></blockquote><div><br> </div><br></div>The other two are from the ToolTipsAjax.js: <br><br><br>line 140<br> mouseMove: function() {<br> if (AjaxPlugins.ToolTips.isAjaxActive()) {<br> clearTimeout(
AjaxPlugins.ToolTips._timerMouseMove);<br> AjaxPlugins.ToolTips._timerMouseMove = setTimeout(<br> "AjaxPlugins.ToolTips.checkMove()",<br> AjaxPlugins.ToolTips.toolTipsTimeout
<br> );<br> AjaxPlugins.ToolTips._result.hide(); (STOPS HERE)<br> }<br> },<br><br><br>and 219 (220)<br><br> sendRequest: function(argObject) {<br> this.abortRequest();<br> this._result.reset(); (STOPS HERE)
<br> this._result.wait();<br><br> var url = this.serviceUrl + '&' + this.buildQueryString(argObject);<br> Logger.send('Request sent with url :' + url);<br> this._ajaxRequest = new
Ajax.Request (<br> url,<br> {method: 'get', onComplete: showResponse, onFailure: reportError}<br> );<br><br>Thank you for going this through,<br><br>frequens<br>