可以用于考试系统中试卷上交的javascript倒计时
- 18867
- 2010/2/8 10:57:54
以下为详细代码 <SCRIPTLANGUAGE="JavaScript"> <!-- t=11;//总时间 varmaxtime; if(window.name==''){ maxtime=t*60; }else{ maxtime=window.name; 阅读全文
网站内容中某个关键字相关右键菜单
- 8320
- 2010/2/8 10:54:24
以下为详细代码 <html> <head> <metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/> <title>网站内容中某个关键字相关右键菜单</t阅读全文
CSS代码格式化和压缩化
- 9052
- 2010/2/7 20:54:55
以下为详细代码 <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN"> <html> <head> <title>格式化CSS和压缩化CSS</title> <阅读全文
购物时某件商品倒计时销售非常不错
- 8522
- 2010/2/7 20:50:44
以下为详细代码 <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"> <html> <head> <title>购物时某件商品倒计时销售非常不错</title> 阅读全文
点击复选框自动写入textarea,去掉自动删掉,适合做(网站来源,网站作者)
- 13748
- 2010/2/7 20:46:20
以下为详细代码 <html> <head> <title>点击复选框自动写入textarea,去掉自动删掉,适合做(网站来源,网站作者)</title> <metahttp-equiv="Content-Type"content=阅读全文
asp之自动闭合HTML标签函数
- 13775
- 2010/1/21 20:09:55
asp之自动闭合HTML标签函数 以下为详细代码 Functionclosehtml(strContent) '************************************* '自动闭合html '************************************阅读全文
asp之自动闭合UBB标签函数
- 8039
- 2010/1/21 20:07:19
asp之自动闭合UBB标签函数 以下为详细代码 FunctioncloseUBB(strContent) '************************************* '自动闭合UBB '************************************* 阅读全文
ASP汉字转拼音,支持自定义特殊词语
- 11572
- 2010/1/20 13:40:45
以下是”特殊字符“代码:FunctiongetEnglish(ByValStr)getEnglish=StrgetEnglish=Replace(getEnglish,"中国","china")getEnglish=Replace(getEnglish,"策划","plan")getEn阅读全文
从百度扣下来的javascript日历
- 7582
- 2010/1/7 15:55:14
以下为详细代码 <title>从百度扣下来的javascript日历</title> <tablecellpadding="0"cellspacing="0"id="1"> <tr> <td><style> b阅读全文
实时输入数字自动转换为货币形式并计算
- 7359
- 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阅读全文
用户注册时的密码强度提示
- 6310
- 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阅读全文