Javascript JS 限制复选框的选择个数(3)
- 18377
- 2010/5/7 14:32:57
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
Javascript JS 限制复选框的选择个数
- 8215
- 2010/5/7 14:26:14
以下为详细代码 <SCRIPTLANGUAGE="JavaScript"> varc=0,limit=3; functiondoCheck(obj){ obj.checked?c++:c--; if(c>limit){ obj.checked=false,c--阅读全文
利用position把div放在flash上
- 33672
- 2010/4/29 22:41:32
只要在Flash对象加入页面时生成的HTML代码中加入以下参数就可以让Div浮动层从Flash下露出来了:<paramname="wmode"value="transparent"/> 另外,发现另外一个更专业的参数:<paramname="wmode"value="opaque阅读全文
以前的QQ强聊不管了,这个是非常管用的QQ强聊
- 10409
- 2010/4/19 8:49:09
以下为详细代码 <ahref="tencent://message/?Menu=yes&uin=565449214&Site=深山行者&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb阅读全文
这个超级强的div+css图片大小自适应
- 24146
- 2010/4/6 15:19:23
以下为详细代码 <style> .mnlc9_l{ float:left; overflow:hidden; width:110px; height:110px; padding:3px; border:solid1px#d7d7d7; text-align:c阅读全文
倒计时广告/始终保持在网页中部
- 10125
- 2010/4/1 9:50:49
以下为详细代码 倒计时广告/始终保持在网页中部<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 阅读全文
点击密码框弹出小键盘
- 7788
- 2010/4/1 9:02:24
以下为详细代码 <divalign="center"> <INPUTtitle=登录密码onfocus="if(hidekeyboard){ hidekeyboard=false;userpswdvalue=this;showkeybo阅读全文
javascript自动获取Tags关键字
- 10978
- 2010/2/9 15:06:47
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
javascript自动获取Tags关键字
- 9178
- 2010/2/9 14:44:31
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
改善用户体验之checkbox表单(最多可以选择三个)
- 15218
- 2010/2/9 14:44:31
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
按钮复制文章URL和复制保留文章的版权
- 10167
- 2010/2/9 14:14:16
以下为详细代码 按钮复制文章URL和复制保留文章的版权 <scriptlanguage="javascript"> functioncopyToClipBoard(){ varclipBoardContent=document.location; clipBoardCo阅读全文
Google的265导航站上顶部右边的logo上的眼珠特效 (兼容IE,FF)
- 10512
- 2010/2/8 11:03:55
以上是所用的一些图片 google_265_logo_ig.js 以上是用到的JS代码 以下为详细代码 <html> <head> <metahttp-equiv="content-type"content="text/html;阅读全文
CSS代码格式化和压缩化
- 9066
- 2010/2/7 20:54:55
以下为详细代码 <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN"> <html> <head> <title>格式化CSS和压缩化CSS</title> <阅读全文
ASP汉字转拼音,支持自定义特殊词语
- 11591
- 2010/1/20 13:40:45
以下是”特殊字符“代码:FunctiongetEnglish(ByValStr)getEnglish=StrgetEnglish=Replace(getEnglish,"中国","china")getEnglish=Replace(getEnglish,"策划","plan")getEn阅读全文
从百度扣下来的javascript日历
- 7586
- 2010/1/7 15:55:14
以下为详细代码 <title>从百度扣下来的javascript日历</title> <tablecellpadding="0"cellspacing="0"id="1"> <tr> <td><style> b阅读全文
利用DIV+CSS做的柱状图(3)
- 18108
- 2009/12/22 14:07:46
以下为详细代码 <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN"> <html> <head> <title>利用DIV+CSS做的柱状图(3)</title>阅读全文
一个select表单移处数据的效果,非常好用。
- 10397
- 2009/12/22 14:07:45
以下为详细代码 <scriptlanguage="javascript"> /* *email:yaqy@qq.com *url:http://hi.baidu.com/tangtou */ function$(str){ returndocument.getEle阅读全文
判断用户注册密码强度的JS代码
- 9468
- 2009/12/22 14:07:44
以下为详细代码 判断用户注册密码强度的JS代码 <scriptlanguage=javascript> //CharMode函数 //source:www.web2bar.cn //测试某个字符是属于哪一类. functionCharMode(iN){ if(i阅读全文