<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">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 ;-)<br><br>Best regads.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: Christopher Schmidt <crschmidt@metacarta.com><br>Para: victor victor <laventa147@yahoo.es><br>CC: dev@openlayers.org<br>Enviado: martes, 16 de octubre, 2007 15:44:45<br>Asunto: Re: [OpenLayers-Dev] Problem with events in OpenLayers 2.5<br><br>On Tue, Oct 16, 2007 at 01:38:35PM +0000, victor victor wrote:<br>> The same behavior. I only draw the border to define the icon area. I
don't<br>> know what is happening but the behavior is different with diferent
target objects, this is:<br>> <br>> if I code something like this <br>> this.marker.events.register("mouseover", this,<br>> this.mouseover);<br>> it is different than this one<br>> <br>> this.marker.events.register("mouseover", this.marker,<br>> this.mouseover);<br>> <br>> In the second case it doesn't work in IE 6.0 neither in Firefox.<br><br>Well, I don't know what 'doesn't work' means -- the difference between<br>these is that in the latter case, the 'this' inside this.mouseover is<br>different, so you might be getting an error thrown because some
property<br>used inside this.mouseover doesn't exist...<br><br>Check your error console? Get Firebug, and put a console.log() inside<br>this.mouseover to see if it's working? <br><br>Regards,<br>-- <br>Christopher Schmidt<br>MetaCarta<br></div><br></div></div><br>
<hr size=1><br><font face="Verdana" size="-2">Sé un Mejor Amante del Cine<br>¿Quieres saber cómo? <a href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html">¡Deja que otras personas te ayuden!
</a>.<br></font></body></html>