Ver Mensaje Individual
  #7 (permalink)  
Antiguo 08/08/2010, 09:26
chuchufuentes
 
Fecha de Ingreso: mayo-2008
Mensajes: 353
Antigüedad: 16 años, 10 meses
Puntos: 3
Respuesta: ayuda porfa,con esta funcion

Gracias por contestar, pero googleando, consegui esto y ahora si funciona, al menos en mi PC, no lo he colocado en la web, aqui el script

var glbInc, glbDec;

function decreaseSizeImage(image) // will get back to its normal default size
{
var id = image;
if(glbInc != null) {clearTimeout(glbInc); glbInc = null;};
if (image.height > 99)
{
image.height -= 150;
image.width -= 150;
glbDec = setTimeout("decreaseSizeImage("+image+")", 32);
};
}

function increaseSizeImage(image)
{
var id = image;

if(glbDec != null) {clearTimeout(glbDec); glbDec = null;};
if (image.height < 101)
{
image.height += 150;
image.width += 150;
glbInc = setTimeout("increaseSizeImage("+image+")", 32);
};
}


aqui la imagen html asp.net

<td style="width: 117px; height: 32px">
<img src='<%#Eval("fotoparte") %>' width="104px" height="100px" alt="No Hay Imagen Disponible" id="Image2" onmouseover="increaseSizeImage(this);" onmouseout="decreaseSizeImage(this);" />
</td>

muchaaaaas gracias