hi, i'd try <br>img.onmouseover=function(){<br> getInfosMobile(this,positions[i][2])<br>}<br><br>you might hvae to set the positions element to a local var inside the closure. <br>-b<br><br><div><span class="gmail_quote">
On 5/19/06, <b class="gmail_sendername">Stéphane RIFF</b> <<a href="mailto:stephane.riff@cerene.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
stephane.riff@cerene.fr</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;">In fact your right it's work but my script is like that :
<br> img.onmouseover="getInfosMobile(this,'"+positions[i][2]+"');";<br><br>And in this form it doesn't work. I don't understand why because I<br>always to this like that to pass some parameters<br>and never had a problem...
<br><br>If you know why I'd Like to know.<br>Thanks again.<br>Bye,<br>Steff<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></blockquote>
</div><br>