IE中奇怪的左右border断线现象
- 8175
- 2009/12/22 14:07:43
假如容器内有两个浮动,并用CLEAR清除浮动。在ie下拖动滚动条时最外层的border会消失,假如给最外层加上宽度或者高度就不会出现。这是一个希奇的现象,目前还不能解释是什么原因所导致的。看下面的示例: 以下为详细代码 <divstyle="margin:500px100px10p阅读全文
Javascript实现CSS代码高亮显示
- 9254
- 2009/12/22 14:07:43
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
一个非常不错的文字的提示
- 6289
- 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关键词
- 9700
- 2009/12/22 14:07:42
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
购物网上图片放大效果
- 15828
- 2009/12/22 14:07:41
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
后台编辑源码里有行号
- 15910
- 2009/12/22 14:07:39
以下为详细代码 <tablecellpadding="0"cellspacing="1"class="table_form"> <tr> <tdwidth="486"> <textareaid='txt_ln'rows='30'cols=阅读全文
代码绝对精简的仿lightbox效果弹出层
- 16192
- 2009/12/22 14:07:38
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
仿taobao效果拼音字母检索功能
- 7036
- 2009/12/22 14:07:34
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd"> <htmlxmlns="http://阅读全文
radio单选按钮组选择详细
- 25121
- 2009/9/26 10:02:24
以下为详细代码 <title>radio单选按钮组选择详细</title> <SCRIPTLANGUAGE="JavaScript"defer> functioncheck(){ varr=newArray(); varobj=documen阅读全文
CSS+ul 实现的柱状图
- 7470
- 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等
- 20502
- 2009/9/18 17:13:53
.menucli{display:block;line-height:32px;position:relative;float:left;}/*关键部分*/ 以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//E阅读全文
asp 当日访问量,全部访问量,当前在线人数统计
- 17791
- 2009/9/15 8:23:33
asp当日访问量,全部访问量,当前在线人数统计 <% imgurl="/UploadFiles/demo/num/1/"'图片路径 imgname=""'图片名字 cnt=0 dnt=0 s=Request.ServerVariables("path_translated") c阅读全文
javascri获取页面实际高度
- 9164
- 2009/9/12 9:29:21
以下为详细代码 <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="阅读全文
JS代码判断集锦(之一)
- 6203
- 2009/9/4 8:32:20
JS代码判断集锦(之一) <scriptlanguage="JavaScript">functioncheckid(iden,year,month,day){ if(iden.value.length==15){ if((iden.value.lastIndexOf(month.v阅读全文
超级实用且不花哨的js代码大全( 5 )
- 6905
- 2009/9/4 8:29:52
//判断键值 <html><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><head><scriptlanguage="javascript">varie=naviga阅读全文
超级实用且不花哨的js代码大全( 4 )
- 8457
- 2009/9/4 8:29:02
//组件是否安装 isComponentInstalled("{6B053A4B-A7EC-4D3D-4567-B8FF8A1A5739}","componentID")) //检查网页是否存在 functionCheckURL(URL){varxmlhttp=newActiveXObje阅读全文
超级实用且不花哨的js代码大全( 3 )
- 8268
- 2009/9/4 8:25:26
//无模式的提示框functionmodelessAlert(Msg){window.showModelessDialog("javascript:alert(\""+escape(Msg)+"\");window.close();","","status:no;resizable:no;help:阅读全文
超级实用且不花哨的js代码大全( 2 )
- 9760
- 2009/9/4 8:24:11
高级应用(一) 页面跳转: window.location.href('地址') window.open('地址','_self')打开新窗口: window.open('地址','_blank') 只显示地址栏:window.open('地址','title','location=1,h阅读全文
利用css设置div漂浮在底部或顶部
- 17508
- 2009/9/2 16:21:33
以下为详细代码 <!doctypehtmlpublic"-//w3c//dtdhtml4.0transitional//en"> <html> <head> <title>利用css设置div漂浮在底部或顶部</title阅读全文
asp中eof的介绍
- 9411
- 2009/9/2 15:10:00
eof是asp中recordset对象指针的一种。rs.eof返回记录指针是否超出数据表末端,true表示是,false为否 rs记录集是我们经常会碰到的,下面对它诸多的移动指针进行汇总,如下: rs.movenext将记录指针从当前的位置向下移一行rs.moveprevious将记录指针从当前阅读全文