<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>this seems to be triggered by one of the Event.observe(..) in
the ToolTips.ajax.js</FONT></DIV>
<DIV><FONT size=2>i cant say which one as I dont have that error
here.</FONT></DIV>
<DIV><FONT size=2>Could you add a few alert() in your ToolTips.ajax.js to see
which one of the Event.observe(..) trigger the error ?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=frequens@gmail.com href="mailto:frequens@gmail.com">frequens</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 05, 2007 11:57
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] ToolTips
addendum</DIV>
<DIV><BR></DIV><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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>the addEventListener error is
strange.</FONT></DIV></DIV></BLOCKQUOTE>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<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>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>