7840 次阅读
4 条回复
制作任何一种语言的模拟键盘(软键盘)语言交流
制作任何一种语言的模拟键盘(软键盘),小语种学习爱好者的福音!
本文中所说的语言的模拟键盘(软键盘)是指在屏幕上模拟键盘界面,使用鼠标点击虚拟按键进行文字输入的HTML应用程序(HTA是HTML Application的缩写(HTML应用程序),直接将HTML保存成HTA的格式,就是一个独立的应用软件)。
方法一:制作一个简单的语言键盘。创建表单网页即可。将以下内容(蓝色部分)复制到记事本中,然后另存为类型 所有文件,名称 伯来语虚拟键盘.hta 就是一个最简单的希伯来语虚拟键盘。将文件中希伯来语字母(本页面中可能出现?)替换成你的字母就可以制作一个你所需要的键盘了。
<!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=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title>希伯来语虚拟键盘-卜一丄-http://buyisen.blog.163.com</title>
</head>
<body>
<style type="text/css">
<!--
.keyboard {height: 30px;width: 30px;font-size: 20px;font-weight: bold;}
textarea {font-size: 20px;font-weight: bold;}
-->
</style>
<script language="javascript">
<!--
function code(code) {
if (code!="") {
document.form.textarea.value += code;
document.form.textarea.focus();
}
}
function jsCopy() {
var e=document.getElementById("textarea");
e.select();
document.execCommand("Copy");
}
//-->
</script>
<form action="" method="post" name="form" id="form" onmouseover="thisform=this;">
<div align="center">
<textarea name="textarea" id="textarea" cols="41" rows="5" dir="rtl"></textarea>
</div>
<div align="center">
<input type="button" name="Submit" value="复 制" onclick="jsCopy()" />
<input type="reset" name="button" value="清 空" />
</div>
<div align="center">
<input type="button" class="keyboard" value="1" onclick="code('1');" />
<input type="button" class="keyboard" value="2" onclick="code('2');" />
<input type="button" class="keyboard" value="3" onclick="code('3');" />
<input type="button" class="keyboard" value="4" onclick="code('4');" />
<input type="button" class="keyboard" value="5" onclick="code('5');" />
<input type="button" class="keyboard" value="6" onclick="code('6');" />
<input type="button" class="keyboard" value="7" onclick="code('7');" />
<input type="button" class="keyboard" value="8" onclick="code('8');" />
<input type="button" class="keyboard" value="9" onclick="code('9');" />
<input type="button" class="keyboard" value="0" onclick="code('0');" />
</div>
<div align="center">
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
</div>
<div align="center">
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
</div>
<div align="center">
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
</div>
</form>
</div>
</div>
</body>
</html>
本文中所说的语言的模拟键盘(软键盘)是指在屏幕上模拟键盘界面,使用鼠标点击虚拟按键进行文字输入的HTML应用程序(HTA是HTML Application的缩写(HTML应用程序),直接将HTML保存成HTA的格式,就是一个独立的应用软件)。
方法一:制作一个简单的语言键盘。创建表单网页即可。将以下内容(蓝色部分)复制到记事本中,然后另存为类型 所有文件,名称 伯来语虚拟键盘.hta 就是一个最简单的希伯来语虚拟键盘。将文件中希伯来语字母(本页面中可能出现?)替换成你的字母就可以制作一个你所需要的键盘了。
<!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=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title>希伯来语虚拟键盘-卜一丄-http://buyisen.blog.163.com</title>
</head>
<body>
<style type="text/css">
<!--
.keyboard {height: 30px;width: 30px;font-size: 20px;font-weight: bold;}
textarea {font-size: 20px;font-weight: bold;}
-->
</style>
<script language="javascript">
<!--
function code(code) {
if (code!="") {
document.form.textarea.value += code;
document.form.textarea.focus();
}
}
function jsCopy() {
var e=document.getElementById("textarea");
e.select();
document.execCommand("Copy");
}
//-->
</script>
<form action="" method="post" name="form" id="form" onmouseover="thisform=this;">
<div align="center">
<textarea name="textarea" id="textarea" cols="41" rows="5" dir="rtl"></textarea>
</div>
<div align="center">
<input type="button" name="Submit" value="复 制" onclick="jsCopy()" />
<input type="reset" name="button" value="清 空" />
</div>
<div align="center">
<input type="button" class="keyboard" value="1" onclick="code('1');" />
<input type="button" class="keyboard" value="2" onclick="code('2');" />
<input type="button" class="keyboard" value="3" onclick="code('3');" />
<input type="button" class="keyboard" value="4" onclick="code('4');" />
<input type="button" class="keyboard" value="5" onclick="code('5');" />
<input type="button" class="keyboard" value="6" onclick="code('6');" />
<input type="button" class="keyboard" value="7" onclick="code('7');" />
<input type="button" class="keyboard" value="8" onclick="code('8');" />
<input type="button" class="keyboard" value="9" onclick="code('9');" />
<input type="button" class="keyboard" value="0" onclick="code('0');" />
</div>
<div align="center">
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
</div>
<div align="center">
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
</div>
<div align="center">
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
<input type="button" class="keyboard" value="?" onclick="code('?');" />
</div>
</form>
</div>
</div>
</body>
</html>

