Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/07/2008, 22:44
Avatar de chalchis
chalchis
 
Fecha de Ingreso: julio-2003
Mensajes: 1.773
Antigüedad: 21 años, 6 meses
Puntos: 21
Sonrisa Respuesta: Coordinacion entre funciones

pues yo creo que seria algo asi

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<script language="javascript">
function normal(ancho,alto)
{
	document.getElementById('contenedor').style.width = ancho+"px";
	document.getElementById('contenedor').style.height = alto+"px";
}

function ampliar(ancho,alto)
{
	document.getElementById('contenedor').style.width = ancho+"px";
	document.getElementById('contenedor').style.height = alto+"px";
}
</script>
</head>

<body>
<div id="contenedor" style="width:200px; height:200px; background-color:#00FF00;" onclick="ampliar('400','400')" onmouseout="normal('200','200')">
<table width="100%" border="1" bgcolor="#0033FF">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

</div>
</body>
</html>

saludos
__________________
gerardo