I'm sorry, it wasn't a problem of OpenLayers, it was a problem of my code. I am 
going to keep testing OpenLayers and the next time I'll try to ensure that it 
is not my problem ;-)

Best regads.

----- Mensaje original ----
De: Christopher Schmidt <[EMAIL PROTECTED]>
Para: victor victor <[EMAIL PROTECTED]>
CC: [email protected]
Enviado: martes, 16 de octubre, 2007 15:44:45
Asunto: Re: [OpenLayers-Dev] Problem with events in OpenLayers 2.5

On Tue, Oct 16, 2007 at 01:38:35PM +0000, victor victor wrote:
> The same behavior. I only draw the border to define the icon area. I
 don't
> know what is happening but the behavior is different with diferent
 target objects, this is:
> 
> if I code something like this 
>     this.marker.events.register("mouseover",  this,
>   this.mouseover);
> it is different than this one
> 
>     this.marker.events.register("mouseover",  this.marker,
>   this.mouseover);
> 
> In the second case it doesn't work in IE 6.0 neither in Firefox.

Well, I don't know what 'doesn't work' means -- the difference between
these is that in the latter case, the 'this' inside this.mouseover is
different, so you might be getting an error thrown because some
 property
used inside this.mouseover doesn't exist...

Check your error console? Get Firebug, and put a console.log() inside
this.mouseover to see if it's working? 

Regards,
-- 
Christopher Schmidt
MetaCarta






       
____________________________________________________________________________________
Sé un Mejor Amante del Cine                         
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to