Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/03/2005, 05:30
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola tsanchez

A ver si esto te sirve:
Código PHP:
<html>
<
head>
<
title>Untitled</title>
<
script>
function 
borde(obj) {
  if(
obj.style.borderStyle.indexOf('outset')!=-1)
    
obj.style.borderStyle='inset';
  else
    
obj.style.borderStyle='outset';
}
</script>
</head>
<body>
<table>
<tr>
<td style="border:2px inset" onclick="borde(this)">aaaaaaaa</td>
</tr>
</table>
</body>
</html> 
Saludos,