hi, glad it worked. <br><br>you're missing a closing } for your onmouseover.<br><br><div><span class="gmail_quote">On 3/3/06, <b class="gmail_sendername">Sepehr Sadeghi</b> &lt;<a href="mailto:sadegs@alum.rpi.edu">sadegs@alum.rpi.edu
</a>&gt; 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 style="direction: ltr;"><div>Brent, </div>
<div>thanks for the help... the this.div.onmouseover = function(){&nbsp;alert(pd) } ; worked as planned. Unfortuneately, I can not get the callout box to work...I am using overLib.js, have already defined it in a tag in index.html

;</div>
<div>&lt;script type=&quot;text/javascript&quot; src=&quot;overlib/overlib.js&quot;&gt;&lt;/script&gt;</div>
<div>&nbsp;</div>
<div>here is the code for the kaXmlPoint, at the bottom is the onmouseover event attachment;</div>
<div>&nbsp;</div>
<div></div><div style="direction: ltr;"><span class="q">function kaXmlPoint(pid, xml_overlay) {<br></span></div><div style="direction: ltr;">&nbsp;this.xml_overlay = xml_overlay;<br>&nbsp;this.pid = pid;<br>&nbsp;this.divId = this.xml_overlay.getDivId
(pid);<br>&nbsp;this.geox = 0;<br>&nbsp;this.geoy = 0;<br>&nbsp;this.shown = false;<br>&nbsp;<br>
&nbsp;this.graphics = new Array();<br>&nbsp;<br>&nbsp;this.div = document.createElement('div');<br>&nbsp;this.div.setAttribute('id', this.divId);<br>&nbsp;//this.div.onmouseover =&nbsp; function(){ alert(pd) };<br>&nbsp;this.div.onmouseover=function(){ overlib('This is an ordinary popup.');
<br>&nbsp;this.div.onmouseout=function(){ nd() };<br>}<br>&nbsp;</div>
<div>Thanks</div>
<div>-Sepehr<br>&nbsp;</div></div><div style="direction: ltr;"><span class="e" id="q_109c0fa60dc309f4_3">
<div><span class="gmail_quote">On 3/3/06, <b class="gmail_sendername">Brent Pedersen</b> &lt;<a href="mailto:bpederse@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bpederse@gmail.com</a>
&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">hi, not sure about the workings of kaXML, but you probably need <br>this.onmouseover = function(){ alert(pid) }<br>or&nbsp; maybe <br>this.div.onmouseover = ...<br>-brent<br><br>
<div></div>
<div style="direction: ltr;"><span><span class="gmail_quote">On 3/3/06, <b class="gmail_sendername">Sepehr Sadeghi</b> &lt;<a href="mailto:sadegs@alum.rpi.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

sadegs@alum.rpi.edu</a>&gt; wrote:</span></span></div>
<div style="direction: ltr;">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div>
<div style="direction: ltr;"><span>
<div style="direction: ltr;">
<div>Hello All,</div>
<div>I am trying to implement a way that when you mouseover a kaXmlPoint, it will display a &quot;tooltip&quot; or &quot;callout&quot;. </div>
<div>Typically you could could add a ONMOUSEOVER() in the html image tag, but since this is a javascript object its not straightforward. </div>
<div>&nbsp;</div>
<div>I tried adding a </div>
<div><em>&nbsp;this.onmouseover(alert(pid));</em></div>
<div>inside the <em>function kaXmlPoint(pid, xml_overlay) {</em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in&nbsp;the kaXmlOverlay.js file. That didn't work as expected!</div>
<div>&nbsp;</div>
<div>Does anyone have any suggestions?</div>
<div>&nbsp;</div>
<div>The other ways I was thinking of handling it was;</div>
<div>&nbsp;- on MOUSEMOVE() , compare mouse coords to each point's coords (not efficient)</div>
<div>&nbsp;- create a new event handler (KA_POINT_OVER); (not sure how that would work)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>-Sepehr</div></div></span></div>
<div style="direction: ltr;">
<div style="direction: ltr;"><span></span></div>
<div style="direction: ltr;"><span>
<div><br>-- <br><br><br><br>..:: Sepehr Sadeghi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::..<br>..:: <a href="mailto:sadegs@alum.rpi.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sadegs@alum.rpi.edu</a>&nbsp;&nbsp;::..<br>&nbsp;</div></span>

</div>
<div style="direction: ltr;"></div><br>_______________________________________________<br>ka-Map-users mailing list<br><a href="mailto:ka-Map-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

ka-Map-users@lists.maptools.org </a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br><br><br>
<blockquote></blockquote></div><br>&nbsp;</div></blockquote></div><br><br clear="all"><br></span></div><div style="direction: ltr;"><span class="sg">-- <br><br><br><br>..:: Sepehr Sadeghi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::..<br>..:: <a href="mailto:sadegs@alum.rpi.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sadegs@alum.rpi.edu</a>&nbsp;&nbsp;::..<br>..:: 603-205-4402&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;::.. 

</span></div></blockquote></div><br>