Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/06/2008, 23:10
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años
Puntos: 834
Respuesta: Algo no anda bien

Probá así:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
function 
aumentar(){
fuente parseInt(document.getElementById("Tu_id").style.fontSize ) + 1
if (fuente 20)return;
aumento_fuente fuente+"px"
document.getElementById("Tu_id").style.fontSize=aumento_fuente
}

function 
disminuir(){
fuente =  parseInt(document.getElementById("Tu_id").style.fontSize ) - 1
if (fuente 12)return;
disminuir_fuente fuente+"px"
document.getElementById("Tu_id").style.fontSize=disminuir_fuente
}

</script>
</head>
<body>
<p id="Tu_id" style="font-size:12px;" >aquí viene la parrafada...kdfaasdfjasjkfhkashfjkaf</p>
<img src="lupa_mas.jpg" onclick="aumentar()"> <img src="lupa_menos.jpg" onclick="disminuir()">
</body>
</html> 
Ojo con tu estructura html.