Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/02/2012, 21:10
Chris_1610
 
Fecha de Ingreso: diciembre-2010
Mensajes: 83
Antigüedad: 13 años, 4 meses
Puntos: 0
que funcion hace el this

alguien me podria explicarme como funciona el this o k funcion hace ya k no quiero solo pegar el codigo quiero entenderlo

Código HTML:
<script type="text/javascript">
            $(function() {
				$('#container img').hover(
					function(){
						var $this = $(this);
						$this.stop().animate({'opacity':'1.0','height':'200px','top':'0px','left':'0px'});
					},
					function(){
						var $this = $(this);
						$this.stop().animate({'opacity':'1.0','height':'500px','top':'-66.5px','left':'-150px'});
					}
				);
            });
        </script>