[ka-Map-users] Re: overlay image onmouseover

Brent Pedersen bpederse at gmail.com
Fri May 19 12:28:15 EDT 2006


hi, i'd try
img.onmouseover=function(){
    getInfosMobile(this,positions[i][2])
}

you might hvae to set the positions element to a local var inside the
closure.
-b

On 5/19/06, Stéphane RIFF < stephane.riff at cerene.fr> wrote:
>
> In fact your right it's work but my script is like that :
> img.onmouseover="getInfosMobile(this,'"+positions[i][2]+"');";
>
> And in this form it doesn't work. I don't understand why because I
> always to this like that to pass some parameters
> and never had a problem...
>
> If you know why I'd Like to know.
> Thanks again.
> Bye,
> Steff
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060519/1daf3489/attachment.html


More information about the ka-Map-users mailing list