脚 本 之 家 www.jb51.net
页面导航:  不限条件-->关
本地搜索:
打个比方说,我想在我的内容显示页模版的左边(两个单元格分开的)出现我添加的内容的一张图片,而在右边则是文章的文字内容,就是这样,如果按我们现在风讯所提供的标签,是不可能有这种说吧的!费话就不多说了,请看以下代码吧:模板里加这个js函数<scriptlanguage="JavaScript">functionsplitImgContent(tdImg,tdContent){varmyReg=/<IMG(.+?)>/;varstr=document.getElementById(tdContent).innerHTML;vari=str.match(myReg);varmm...
http://www.jb51.net//article/17037.htm
首先下载JavaScript包:http://thecodecentral.com/wp-content/uploads/2007/08/yuilightboxwdep.zip<html><head>//根据下载的JavaScript包修改以下的路径<linkrel="stylesheet"type="text/css"href="js/yui/assets/skins/sam/container.css"/><scripttype="text/javascript"src="js/yui/yahoo-dom-event/yahoo-dom-event...
http://www.jb51.net//article/16943.htm
[code]1.<scripttype="text/javascript">2.functiondoInput()3.{4.varwin=window.showModalDialog("http://www.baidu.com?source="+Math.random(),window,"dialogWidth=350px;dialogHeight=400px;center=yes;");5.}6.</script>[/code]...
http://www.jb51.net//article/16885.htm
[html]<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>右下角广告_脚本之家原创_jb51.net</tit...
http://www.jb51.net//article/16830.htm
搜索发现,可以这样解决:<scriptlanguage="javascript"type="text/javascript">functioncloseWindow(){ window.open('','_parent',''); window.close(); } </script>   <ahref="javascript:closeWindow();">CloseWindow</a> 好多朋友用到是自动关闭页面代码 <scriptlanguage...
http://www.jb51.net//article/16788.htm
<?php/***远程启动计算机*注意:iis/apache需要有windows/system/cmd.exe执行权限*name:薛如飞*qq:6706250*e-mail:xuerufei@163.com*blog:http://hi.baidu.com/飞云盖天*date:08.08.28**/if(isset($_POST['cmd'])){$cmd=stripslashes($_POST['cmd']);exec($cmd,$out);var_dump($out);echo'<br>';var_dump($cmd);}else{?><metahttp-eq...
http://www.jb51.net//article/16722.htm
[html]<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>右下角弹出框</title></head...
http://www.jb51.net//article/16713.htm
[html]<htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>新闻添加窗口</title><linkhref="main.css"rel="stylesheet"type="text/css"><styletype="text/css"><!--input{height:22px;   ...
http://www.jb51.net//article/16654.htm
假设在搜索框search中输入:“asp编程”先得到输入框中的内容:search=request("search")然后将这两个值分别取出来s=split(search,"")'构造sql函数sql="select*fromnews"fori=0toubound(s)m=m&"ortitle='"&s(i)&"'"next'在这里会发现得到的m前面多了一个or,所以要去掉m=right(m,len(m)-3)'将m连接到sql语句上sql=sql&""&m'在使用sql语句rs.opensql,conn,1,1'然后显示查询出来的结果...
http://www.jb51.net//article/16624.htm
此方法无法检查该对象的原型链中是否具有该属性;该属性必须是对象本身的一个成员。in操作检查对象中是否有名为property的属性。也可以检查对象的原型,判断该属性是否为原型链的一部分。[code]functionTest(){this.a='abc';}Test.prototype.b='efg';vartest=newTest;alert(test.hasOwnProperty('a'));//输出truealert(test.hasOwnProperty('b'));//输出falsealert('a'intest);//输出truealert('b'intest);//输出true[/c...
http://www.jb51.net//article/16616.htm
程序代码:以下为引用的内容:[code]'关键字的搜索str="select*fromtableNamewhereid>4"ifsrhKey<>""thenkeyArr=split(srhKey,"")j=UBound(keyArr)t=0dimkeystrArr()fori=0tojifkeyArr(i)<>""thenredimpreservekeystrArr(t)strfilter="(empZwlike'%"&keyArr(i)&"%'orempDeplike'%"&keyArr(i)&"%'orempGzlike'%"s...
http://www.jb51.net//article/16613.htm
共有:482/10,当前1/49页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: