判断用户注册密码强度的JS代码
- 9451
- 2009/12/22 14:07:44
以下为详细代码 判断用户注册密码强度的JS代码 <scriptlanguage=javascript> //CharMode函数 //source:www.web2bar.cn //测试某个字符是属于哪一类. functionCharMode(iN){ if(i阅读全文
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实现图片预览功能
- 14906
- 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"&阅读全文
一个非常不错的文字的提示
- 6279
- 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关键词
- 9687
- 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\阅读全文
购物网上图片放大效果
- 15802
- 2009/12/22 14:07:41
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
后台编辑源码里有行号
- 15896
- 2009/12/22 14:07:39
以下为详细代码 <tablecellpadding="0"cellspacing="1"class="table_form"> <tr> <tdwidth="486"> <textareaid='txt_ln'rows='30'cols=阅读全文
代码绝对精简的仿lightbox效果弹出层
- 16183
- 2009/12/22 14:07:38
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
iframe框架自适应高度代码
- 23833
- 2009/12/22 14:07:34
页面代码: 程序代码<divstyle="border:1pxsolid#7e99c6"id="frameBox"><iframeid="frameWin"src="01.html"name="opWin"style="width:100%;height:100%"framebo阅读全文
网上购物车购物数量加减效果
- 19093
- 2009/12/22 14:07:34
以下为详细代码 网上购物车购物数量加减效果 <script> function$(e){ returndocument.getElementById(e); } functionabdc(){ varsl=$('shuliang').value; sl=pa阅读全文
仿taobao效果拼音字母检索功能
- 7026
- 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组选择详细
- 21399
- 2009/9/26 9:59:11
同名称的radio表示为一组radio 当我们提交个页面处理的时候 如果利用循环语句改变了radio每个的值,哪么我们用 str=request.Form("Che")response.Write(str) 得到的是你选择按钮的值(radio只能选择其中一个) 不同名称的可以选择多个 例阅读全文
CSS+ul 实现的柱状图
- 7455
- 2009/9/21 8:36:45
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns阅读全文
DIV+CSS做的透明菜单兼容IE、FF等
- 20486
- 2009/9/18 17:13:53
.menucli{display:block;line-height:32px;position:relative;float:left;}/*关键部分*/ 以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//E阅读全文
asp利文本文档加FSO统计网站访问量的方法(2)
- 9502
- 2009/9/15 8:21:17
1.新建count.txt文件文档<%response.write"您是本页的第"&counter()&"位访客"functioncounter()whichfile=server.mappath("count.txt")'打开文件并将其值读取,最后关闭连接释放资源setfso阅读全文
asp利文本文档加FSO统计网站访问量的方法
- 10561
- 2009/9/14 8:33:37
asp利文本文档加FSO统计网站访问量的方法 先手动创建一个rstj.txt文件,然后在此文件输入一个数字,再在rstj.txt文件的同目录下创建一个.asp文件,内容如下: <%Functionrstj()dimfso,f1,ts,sConstForReading=1Setfso=Cre阅读全文
javascri获取页面实际高度
- 9152
- 2009/9/12 9:29:21
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
超级实用且不花哨的js代码大全( 8 )
- 6820
- 2009/9/4 8:34:05
1.禁止复制(copy),禁用鼠标右键! <SCRIPT>//加入页面保护functionrf(){returnfalse;}document.oncontextmenu=rffunctionkeydown(){if(event.ctrlKey==true||event.keyCode阅读全文