asp之自动闭合UBB标签函数
- 8038
- 2010/1/21 20:07:19
asp之自动闭合UBB标签函数 以下为详细代码 FunctioncloseUBB(strContent) '************************************* '自动闭合UBB '************************************* 阅读全文
从百度扣下来的javascript日历
- 7582
- 2010/1/7 15:55:14
以下为详细代码 <title>从百度扣下来的javascript日历</title> <tablecellpadding="0"cellspacing="0"id="1"> <tr> <td><style> b阅读全文
实时输入数字自动转换为货币形式并计算
- 7358
- 2010/1/7 15:49:32
以下为详细代码 <script> functioncheckInt(o){ theV=isNaN(parseInt(o.value))?0:parseInt(o.value); if(theV!=o.value){o.value=theV;} txtTotal.valu阅读全文
提交按钮在自定时间内灰色不可用
- 14587
- 2009/12/22 14:07:46
很多网站有一个很有意思的功能,就是你注册的时候,“同意”按钮呈灰色不可用状态。并且自动倒计时,时间到了之后该按钮才能用。这个功能无非是让用户先阅读他的条款。用JavaScript脚本语言可以达到这个功能。代码如下 以下为详细代码 <html> <head> &阅读全文
利用DIV+CSS做的柱状图(3)
- 18094
- 2009/12/22 14:07:46
以下为详细代码 <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"> <html> <head> <title>利用DIV+CSS做的柱状图(3)</title>阅读全文
一个select表单移处数据的效果,非常好用。
- 10384
- 2009/12/22 14:07:45
以下为详细代码 <scriptlanguage="javascript"> /* *email:yaqy@qq.com *url:http://hi.baidu.com/tangtou */ function$(str){ returndocument.getEle阅读全文
用户注册时的密码强度提示
- 6309
- 2009/12/22 14:07:44
以下为详细代码 <html> <head> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/> <title>用户注册时的密码强度提示</titl阅读全文
判断用户注册密码强度的JS代码
- 9451
- 2009/12/22 14:07:44
以下为详细代码 判断用户注册密码强度的JS代码 <scriptlanguage=javascript> //CharMode函数 //source:www.web2bar.cn //测试某个字符是属于哪一类. functionCharMode(iN){ if(i阅读全文
IE中奇怪的左右border断线现象
- 8159
- 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实现图片预览功能
- 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="阅读全文
网上购物车购物数量加减效果
- 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://阅读全文