<!-- saved from url=(0022)http://internet.e-mail -->
<!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" />
<style type="text/css">
#div1 { position: relative; } #text1{ position: absolute; left: 0; top: 0; font-size: 16px; }
/*#text2{ position: absolute; left: 0; top: 0; font-size: 10px; -moz-opacity:0;filter: alpha(opacity=0);opacity: 0; } */
#text2{ position: absolute; left: 0; top: 0; font-size: 16px; filter: Alpha(opacity=0);-moz-opacity:0;opacity:0;}
.textPasswd {
margin:0px;
PADDING:0px;
width: 35px;
float:left;
background-color:#FFFFFF;
font-family:"Times New Roman", Times, serif;
border : 1px solid #7B9EBD;
}
ul.none {list-style-type: none}
.textPasswd1 { margin:0px;
PADDING:0px;
width: 35px;
float:left;
background-color:#0066CC;
font-family:"Times New Roman", Times, serif;
border : 1px solid #7B9EBD;
/*-moz-opacity:0;
filter: alpha(opacity=0);
opacity: 0.2;*/
}.div1 ul{
MARGIN: 0px;
PADDING: 0px;
BORDER: medium none;
LINE-HEIGHT: normal;
list-style-type: none ;
}. li1{
PADDING-LEFT:11px;
list-style-type: none ;
}
. li2{
position: absolute;
left: 0;
top: 20;
PADDING-LEFT:11px;
list-style-type: none ;
}
.textPasswd_label{ float:left;
}
.textPasswdHidd{ margin:0px;
PADDING:0px;
width: 35px;
float:left;
-moz-opacity:0;
filter: alpha(opacity=0);
opacity: 0.2;
background-color:#FFFFFF;
font-family:"Times New Roman", Times, serif;
}
</style>
<script type="text/javascript" src="UI/ UIControl/ajax_lib_xml.js"> </script>
<script type="text/javascript">
function changeMark1()
{
var strvalue = document.getElementById('text2').value;
//var password = String.fromCharCode(e.keyCode);
document.getElementById('text1').value = strvalue.replace(/\S|\s/g,"*");
} </script>
</head>
<body>
password: <div id="div1">
<ul class="none">
<li class = "li1">
<input type="text" id="txtPassword1" maxlength = "4" class="textPasswd" ><label class="textPasswd_label">-</label>
<input type="text" id="txtPassword2" maxlength = "4" class="textPasswd"><label class="textPasswd_label">-</label>
<input type="text" id="txtPassword3" maxlength = "4" class="textPasswd"><label class="textPasswd_label">-</label>
<input type="text" id="txtPassword4" maxlength = "4" class="textPasswd">
</li>
<li class = "li2">
<input name="text" type="text" class="textPasswd1" maxlength = "4" onpropertychange="changeMark1(0)" />
<label class="textPasswd_label">-</label>
<input type="text" maxlength = "4" class="textPasswd1" onpropertychange="changeMark1(0)" ><label class="textPasswd_label">-</label>
<input type="text" maxlength = "4" class="textPasswd1" onpropertychange="changeMark1(0)" ><label class="textPasswd_label">-</label>
<input type="text" maxlength = "4" class="textPasswd1" onpropertychange="changeMark1(0)" >
</li></ul>
</div>
</body>
</html>
<!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" />
<style type="text/css">
#div1 { position: relative; } #text1{ position: absolute; left: 0; top: 0; font-size: 16px; }
/*#text2{ position: absolute; left: 0; top: 0; font-size: 10px; -moz-opacity:0;filter: alpha(opacity=0);opacity: 0; } */
#text2{ position: absolute; left: 0; top: 0; font-size: 16px; filter: Alpha(opacity=0);-moz-opacity:0;opacity:0;}
.textPasswd {
margin:0px;
PADDING:0px;
width: 35px;
float:left;
background-color:#FFFFFF;
font-family:"Times New Roman", Times, serif;
border : 1px solid #7B9EBD;
}
ul.none {list-style-type: none}
.textPasswd1 { margin:0px;
PADDING:0px;
width: 35px;
float:left;
background-color:#0066CC;
font-family:"Times New Roman", Times, serif;
border : 1px solid #7B9EBD;
/*-moz-opacity:0;
filter: alpha(opacity=0);
opacity: 0.2;*/
}.div1 ul{
MARGIN: 0px;
PADDING: 0px;
BORDER: medium none;
LINE-HEIGHT: normal;
list-style-type: none ;
}. li1{
PADDING-LEFT:11px;
list-style-type: none ;
}
. li2{
position: absolute;
left: 0;
top: 20;
PADDING-LEFT:11px;
list-style-type: none ;
}
.textPasswd_label{ float:left;
}
.textPasswdHidd{ margin:0px;
PADDING:0px;
width: 35px;
float:left;
-moz-opacity:0;
filter: alpha(opacity=0);
opacity: 0.2;
background-color:#FFFFFF;
font-family:"Times New Roman", Times, serif;
}
</style>
<script type="text/javascript" src="UI/ UIControl/ajax_lib_xml.js"> </script>
<script type="text/javascript">
function changeMark1()
{
var strvalue = document.getElementById('text2').value;
//var password = String.fromCharCode(e.keyCode);
document.getElementById('text1').value = strvalue.replace(/\S|\s/g,"*");
} </script>
</head>
<body>
password: <div id="div1">
<ul class="none">
<li class = "li1">
<input type="text" id="txtPassword1" maxlength = "4" class="textPasswd" ><label class="textPasswd_label">-</label>
<input type="text" id="txtPassword2" maxlength = "4" class="textPasswd"><label class="textPasswd_label">-</label>
<input type="text" id="txtPassword3" maxlength = "4" class="textPasswd"><label class="textPasswd_label">-</label>
<input type="text" id="txtPassword4" maxlength = "4" class="textPasswd">
</li>
<li class = "li2">
<input name="text" type="text" class="textPasswd1" maxlength = "4" onpropertychange="changeMark1(0)" />
<label class="textPasswd_label">-</label>
<input type="text" maxlength = "4" class="textPasswd1" onpropertychange="changeMark1(0)" ><label class="textPasswd_label">-</label>
<input type="text" maxlength = "4" class="textPasswd1" onpropertychange="changeMark1(0)" ><label class="textPasswd_label">-</label>
<input type="text" maxlength = "4" class="textPasswd1" onpropertychange="changeMark1(0)" >
</li></ul>
</div>
</body>
</html>
解决方案 »
- jquery flexgrid 可以帮我看看是什么情况么
- 请高手指导一下:怎么去掉这个警告框?
- 使用拷贝页面中表格的方法将表格数据记录导出为excel,但是身份证号变成了科学技术法,日期都变成了英文
- 请问有人用过prototype.js和scriptaculous.js的排序功能?
- 关于js控制td的,不会弄了,大哥们帮忙看看吧!
- 怎么样屏蔽CTRL+N功能
- 有谁用过fckedtor,怎么能通过js脚动态设置文件的上传或图片的浏览路径
- 如何分别对框架和页面的内容进行刷新以及 refresh ,reload的用法
- 跨框架对像访问问题
- 发送页面时,如果用javascript判断textfield中填入的是数字(只能填数字)
- 鼠标滚轮
- document的问题
设置同位置同大小 top:9px;left:9px;width:9px;height:9px;切换z-index就能显示不同的了