<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="javascript" type="text/javascript" src="keyboard.js"></script>/*引用JS*/
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>软键盘演示</title>
<link rel="stylesheet" href="style.css" type="text/css"> /*引用css*/
</head>
<body>
<form name="form1" method="post" action="">
<input name="PASSWORD" type="password" id="PASSWORD" SIZE="12" maxLength="12" title="登录密码">
<input type="button" value="密码软键盘" class="psbutton" onKeyDown="Calc.password.value=PASSWORD.value" onChange="Calc.password.value=PASSWORD.value" onclick= "password1=PASSWORD;showkeyboard();Calc.password.value=''">
</form>
</body>
</html>
style.css下载: https://www.bj.bank-of-china.com/webapp/gb/css/style.css
(为了达到最佳效果,请修改css里面图片的地址 eg:https://www.bj.bank-of-china.com/webapp/gb/images/button001.gif )
keyboard.js下载:https://www.bj.bank-of-china.com/webapp/gb/js/keyboard.js