用户注册时的密码强度提示
- 6310
- 2009/12/22 14:07:44
以下为详细代码 <html> <head> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/> <title>用户注册时的密码强度提示</titl阅读全文
判断用户注册密码强度的JS代码
- 9455
- 2009/12/22 14:07:44
以下为详细代码 判断用户注册密码强度的JS代码 <scriptlanguage=javascript> //CharMode函数 //source:www.web2bar.cn //测试某个字符是属于哪一类. functionCharMode(iN){ if(i阅读全文
IE中奇怪的左右border断线现象
- 8161
- 2009/12/22 14:07:43
假如容器内有两个浮动,并用CLEAR清除浮动。在ie下拖动滚动条时最外层的border会消失,假如给最外层加上宽度或者高度就不会出现。这是一个希奇的现象,目前还不能解释是什么原因所导致的。看下面的示例: 以下为详细代码 <divstyle="margin:500px100px10p阅读全文
Javascript实现CSS代码高亮显示
- 9241
- 2009/12/22 14:07:43
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
javascript实现图片预览功能
- 14909
- 2009/12/22 14:07:42
以下为详细代码 <!doctypehtmlpublic"-//w3c//dtdhtml4.01//en""http://www.w3.org/tr/html4/strict.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml"&阅读全文
一个非常不错的文字的提示
- 6280
- 2009/12/22 14:07:42
以下为详细代码 <SCRIPT> //JavaScriptDocument document.write("<divid='tip'style='position:absolute;width:130px;z-index:1;background-color:#fff阅读全文
JS自动获取TAGS关键词
- 9689
- 2009/12/22 14:07:42
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
JS自动格式化输入的数字/千位分隔符
- 15849
- 2009/12/22 14:07:41
以下为详细代码 <script> functioncc(s){ if(/[^0-9\.]/.test(s))return"invalidvalue"; s=s.replace(/^(\d*)$/,"$1."); s=(s+"00").replace(/(\d*\.\d\阅读全文
购物网上图片放大效果
- 15805
- 2009/12/22 14:07:41
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
后台编辑源码里有行号
- 15897
- 2009/12/22 14:07:39
以下为详细代码 <tablecellpadding="0"cellspacing="1"class="table_form"> <tr> <tdwidth="486"> <textareaid='txt_ln'rows='30'cols=阅读全文
代码绝对精简的仿lightbox效果弹出层
- 16184
- 2009/12/22 14:07:38
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
网上购物车购物数量加减效果
- 19096
- 2009/12/22 14:07:34
以下为详细代码 网上购物车购物数量加减效果 <script> function$(e){ returndocument.getElementById(e); } functionabdc(){ varsl=$('shuliang').value; sl=pa阅读全文
仿taobao效果拼音字母检索功能
- 7027
- 2009/12/22 14:07:34
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd"> <htmlxmlns="http://阅读全文
radio单选按钮组选择详细
- 25106
- 2009/9/26 10:02:24
以下为详细代码 <title>radio单选按钮组选择详细</title> <SCRIPTLANGUAGE="JavaScript"defer> functioncheck(){ varr=newArray(); varobj=documen阅读全文
radio组选择详细
- 21400
- 2009/9/26 9:59:11
同名称的radio表示为一组radio 当我们提交个页面处理的时候 如果利用循环语句改变了radio每个的值,哪么我们用 str=request.Form("Che")response.Write(str) 得到的是你选择按钮的值(radio只能选择其中一个) 不同名称的可以选择多个 例阅读全文
CSS+ul 实现的柱状图
- 7456
- 2009/9/21 8:36:45
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns阅读全文
optgroup 标签
- 15058
- 2009/9/19 8:49:25
optgroup标签作用:标签可以给select中的option进行分组,这在下拉项目很多的时候很有用,配合label标签给每组命名。你也可以像淘宝那样给每组用css定义不同的颜色。 以下为详细代码 <select> <optgrouplabel="自驾游">&阅读全文
DIV+CSS做的透明菜单兼容IE、FF等
- 20487
- 2009/9/18 17:13:53
.menucli{display:block;line-height:32px;position:relative;float:left;}/*关键部分*/ 以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//E阅读全文
javascri获取页面实际高度
- 9154
- 2009/9/12 9:29:21
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文