<olid="need">
<li><labelclass="old_password">原始暗码:</label><inputname=type=passwordid=/></li>
<li><labelclass="new_password">新的暗码:</label><inputname=type=passwordid=/><dfn>(暗码长度为6~20字节。不想修正请留空)</dfn></li>
<li><labelclass="rePassword">反复暗码:</label><inputname=type=passwordid=/></li>
<li><labelclass="email">邮箱设置:</label><inputname=type=textid=/><dfn>(Codemoz!答应毫不会给您发送任何渣滓邮件。)</dfn></li>
</ol>
/*demo所用元素值*/
#need{margin:20pxauto0;width:610px;}
#needli{height:26px;width:600px;font:12px/26pxArial,Helvetica,sans-serif;background:#FFD;border-bottom:1pxdashed#E0E0E0;display:block;cursor:text;padding:7px0px7px10px!important;padding:5px0px5px10px;}
#needli:hover,#needli.hover{background:#FFE8E8;}
#needinput{line-height:14px;background:#FFF;height:14px;width:200px;border:1pxsolid#E0E0E0;vertical-align:middle;padding:6px;}
#needlabel{background:url(../images/icon_sprite.gif)no-repeat;padding-left:30px;}
#needlabel.old_password{background-position:0-277px;}
#needlabel.new_password{background-position:0-1576px;}
#needlabel.rePassword{background-position:0-1638px;}
#needlabel.email{background-position:0-429px;}
#needdfn{display:none;}
#needli:hoverdfn,#needli.hoverdfn{display:inline;margin-left:7px;color:#676767;}
functionsuckerfish(type,tag,parentId){
if(window.attachEvent){
window.attachEvent("onload",function(){
varsfEls=(parentId==null)?document.getElementsByTagName(tag):document.getElementById(parentId).getElementsByTagName(tag);
type(sfEls);
});
}
}
hover=function(sfEls){
for(vari=0;i<sfEls.length;i++){
sfEls.onmou搜索引擎优化ver=function(){
this.className+="hover";
}
sfEls.onmou搜索引擎优化ut=function(){
this.className=this.className.replace(newRegExp("hover"),"");
}
}
}
suckerfish(hover,"li");
a,abbr,acronym,address,b,bdo,big,button,caption,cite,code,dd,del,dfn,div,dt,em,fieldset,h1,h2,h3,h4,h5,h6,i,ins,kbd,label,legend,li,object,p,pre,q,samp,small,span,strong,sub,sup,td,th,tt,var
a,abbr,acronym,b,bdo,big,br,button,cite,code,del,dfn,em,i,img,input,ins,kbd,label,map,object,q,samp,script,select,small,span,strong,sub,sup,textarea,tt,var
欢迎光临 仓酷云 (http://ckuyun.com/) | Powered by Discuz! X3.2 |