一个非常不错的文字的提示
- 6242
- 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关键词
- 9643
- 2009/12/22 14:07:42
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
购物网上图片放大效果
- 15722
- 2009/12/22 14:07:41
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
代码绝对精简的仿lightbox效果弹出层
- 16144
- 2009/12/22 14:07:38
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
iframe框架自适应高度代码
- 23800
- 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阅读全文
仿taobao效果拼音字母检索功能
- 7005
- 2009/12/22 14:07:34
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd"> <htmlxmlns="http://阅读全文
radio单选按钮组选择详细
- 25051
- 2009/9/26 10:02:24
以下为详细代码 <title>radio单选按钮组选择详细</title> <SCRIPTLANGUAGE="JavaScript"defer> functioncheck(){ varr=newArray(); varobj=documen阅读全文
radio组选择详细
- 21362
- 2009/9/26 9:59:11
同名称的radio表示为一组radio 当我们提交个页面处理的时候 如果利用循环语句改变了radio每个的值,哪么我们用 str=request.Form("Che")response.Write(str) 得到的是你选择按钮的值(radio只能选择其中一个) 不同名称的可以选择多个 例阅读全文
CSS+ul 实现的柱状图
- 7402
- 2009/9/21 8:36:45
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns阅读全文
JavaScript max() 方法
- 8694
- 2009/9/18 17:16:47
定义和用法 max()方法可返回两个指定的数中带有较大的值的那个数。 语法Math.max(x...) 参数 描述 x 0或多个值。在ECMASCriptv3之前,该方法只有两个参数。 返回值 参数中最大的值。如果没有参数,则返回-Infinity。如果有某个参数阅读全文
DIV+CSS做的透明菜单兼容IE、FF等
- 20432
- 2009/9/18 17:13:53
.menucli{display:block;line-height:32px;position:relative;float:left;}/*关键部分*/ 以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//E阅读全文
javascri获取页面实际高度
- 9116
- 2009/9/12 9:29:21
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
超级实用且不花哨的js代码大全( 8 )
- 6771
- 2009/9/4 8:34:05
1.禁止复制(copy),禁用鼠标右键! <SCRIPT>//加入页面保护functionrf(){returnfalse;}document.oncontextmenu=rffunctionkeydown(){if(event.ctrlKey==true||event.keyCode阅读全文
超级实用且不花哨的js代码大全( 7 )
- 6716
- 2009/9/4 8:31:08
弹窗代码汇总【0、超完美弹窗代码】功能:5小时弹一次+背后弹出+自动适应不同分辩率+准全屏显示 代码:<script>functionopenwin(){window.open(http://www.6882.com,"pop1","width="+(window.screen.wid阅读全文
超级实用且不花哨的js代码大全( 5 )
- 6845
- 2009/9/4 8:29:52
//判断键值 <html><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><head><scriptlanguage="javascript">varie=naviga阅读全文
超级实用且不花哨的js代码大全( 4 )
- 8394
- 2009/9/4 8:29:02
//组件是否安装 isComponentInstalled("{6B053A4B-A7EC-4D3D-4567-B8FF8A1A5739}","componentID")) //检查网页是否存在 functionCheckURL(URL){varxmlhttp=newActiveXObje阅读全文
超级实用且不花哨的js代码大全( 3 )
- 8201
- 2009/9/4 8:25:26
//无模式的提示框functionmodelessAlert(Msg){window.showModelessDialog("javascript:alert(\""+escape(Msg)+"\");window.close();","","status:no;resizable:no;help:阅读全文
超级实用且不花哨的js代码大全( 2 )
- 9713
- 2009/9/4 8:24:11
高级应用(一) 页面跳转: window.location.href('地址') window.open('地址','_self')打开新窗口: window.open('地址','_blank') 只显示地址栏:window.open('地址','title','location=1,h阅读全文
超级实用且不花哨的js代码大全( 1 )
- 7224
- 2009/9/4 8:22:09
事件源对象event.srcElement.tagNameevent.srcElement.type捕获释放event.srcElement.setCapture();event.srcElement.releaseCapture();事件按键event.keyCodeevent.shiftKeye阅读全文
比较实用的利用javascript按比例相应缩放图片大小
- 15141
- 2009/9/4 8:18:31
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文