Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/03/2011, 12:09
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
[SOLUCIONADO] aumentar tamaño imagen un 0.2% con jquery

Tengo una serie de imagenes de ancho indefinido. Quisiera un efecto mouse over para ampliarlas un poquitin, 0.2% ( o 2px ). Como?

Esto no se resolverlo:

width = $(this).attr("width");
$(this).css({"width": width+"5px"});


*******

SOLUCIONADO.
Así:
width = $(this).attr("width");
width = width+5;
$(this).css({"width": width+"px"});

Lo cual valdría para porcentajes tambien.

Última edición por mayid; 12/03/2011 a las 12:30