Ver Mensaje Individual
  #11 (permalink)  
Antiguo 18/12/2002, 10:22
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 22 años, 4 meses
Puntos: 61
Si fueras un poco más específico en cuanto a tus preferencias lo tendríamos todos un poco más fácil. Prueba a ver este, le he quitado lo de evitar escribir en el Text Box. A ver si así te gusta más:




<html>
<head>
<script>
texto="";
var z=0;
function anadir(letra){

texto=barra.value;
texto=texto+letra;
barra.value=texto;
}
function mostrar(){
if (z==0){z=1;botones.style.visibility="visible";preg unta.innerText="Ocultar teclado";}
else {z=0;botones.style.visibility="hidden";pregunta.in nerText="Mostrar teclado";}
}</script>

</head>

<body style="font:normal 10px/15px verdana">
<center>
<div style="width:300px">
<input type="Text" name="barra" style="width:300px;border:solid 1px black" ><br>
<a id="pregunta" href='#' onClick="mostrar()">Mostrar teclado</a>
<br>
<br>
<br>
<br>
<br><div align=center id="botones" style="font:normal 8px/4px verdana;visibility:hidden;"></div>
<script>
var letras="";
var p=0;
for (a=65;a<91;a++){
letras=letras+"<input style='width:20px;heiht:20px;' type='Button' value=&#"+a+" onclick=anadir('&#"+a+"')>&nbsp;";
p=p+1;
if(p==9){p=0;letras=letras+"<br><br>";}
}
botones.innerHTML=letras+"<input style='width:20px;heiht:20px;' type='Button' value=&copy onClick=alert('KarlanKas-2002')><br><br><input style='width:205px;height:22px;' type='Button' value='espacio' onclick=anadir('&#160')>";

</script>
</div>
</center>
</body>
</html>


__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.