脚 本 之 家 www.jb51.net
页面导航:  不限条件-->I
本地搜索:
<ahref="#"id="a3"onclick="test()"style="display:none"></a><inputtype="button"value="clck"onclick="test2('a3');"/><scriptlanguage="javascript">functiontest(){document.location.href="DBAI_les20_globalization_support.ppt";}functiontest2(name){if(document.all){document.getElement...
http://www.jb51.net//article/16549.htm
1.出现“未找到文件“类似的错误时候,检查include文件的位置是否正确,下面引用php手册页面的原话:Filesforincludingarefirstlookedininclude_pathrelativetothecurrentworkingdirectoryandtheninthedirectoryofthecurrentscript.E.g.ifyourinclude_pathislibraries,currentworkingdirectoryis/www/,youincludedinclude/a.phpandthereisinclude"b.php"inthatfile,b....
http://www.jb51.net//article/16540.htm
<!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"/><metahttp-equiv="Content-Language"content="gb...
http://www.jb51.net//article/16535.htm
同样一段代码,两次调用,一次通过,一次异常:functionclearSelect(obj){if(obj&&obj.options)obj.options.length=0;}以下是前人的一些经验:这是两个经典异常,不知道原理的话很难定位。从下面的代码中可用看到发生的条件<iframesrc="javascript:'<script>top.ff1={abc:function(){}}<\/script>'"width=0height=0name="f1"></iframe><buttononclick="f1.locat...
http://www.jb51.net//article/16533.htm
⑴ 函数原型:UINTWinExec(LPCSTRlpCmdLine,UINTuCmdShow);⑵ 参数:lpCmdLine:指向一个空结束的字符串,串中包含将要执行的应用程序的命令行(文件名加上可选参数)。uCmdShow:定义Windows应用程序的窗口如何显示,并为CreateProcess函数提供STARTUPINFO参数的wShowWindow成员的值。⑶ 返回值:若函数调用成功,则返回值大于31。若函数调用失败,则返回值为下列之一:① 0:系统内存或资源已耗尽。② ERROR_BAD_FORMAT:EXE文件无效(非Win32.EXE或.EXE影像错误)。③ ERROR_FILE...
http://www.jb51.net//article/16526.htm
法宝就是Concurrent.Thread这个家伙,其实是一个js库,你可以从网站下载源代码.如何使用呢?很简单Concurrent.Thread.create(f,a1,a2,...)f为你要调用的函数,a1,a2为该函数的参数,这样创建了一个线程,你可以同时创建多个,他们会同时去执行,这个库同时提供了很多的方法,类似其它语言里的Thread使用方法,如Concurrent.Thread.stop();等。具体去网站去了解。[code]<html><body><scripttype="text/javascript"src="Concurrent.Thread....
http://www.jb51.net//article/16519.htm
解决办法:禁用服务Win2003WinHTTPWebProxyAuto-DiscoveryService。双击右下角的时间,在“Internet时间”选项卡中将“自动与Internet时间服务器同步”选项去掉。...
http://www.jb51.net//article/16518.htm
[code]Date.prototype.dateAdd=function(interval,number){vard=this;vark={'y':'FullYear','q':'Month','m':'Month','w':'Date','d':'Date','h':'Hours','n':'Minutes','s':'Seconds','ms':'MilliSeconds'};varn={'q':3,'w':7};eval('d.set'+k[interval]+'(d.get'+k[interval]+'()+'+((n[interval]||1)*number)+')');retur...
http://www.jb51.net//article/16517.htm
[code]<divid="test"><ahref="#">test</a></div><divid="result"></div><scripttype="text/javascript">(function(){vartest=document.getElementById('test');alert(test.innerHTML);varresult=document.getElementById('result');result.innerHTML=test.innerHTML;alert(resul...
http://www.jb51.net//article/16515.htm
style后面用于限定DIV样式并加滚动条,这个不多说关键的地方其实很简单,最后两行Javascript就是了,起作用的只有最后一行:obj.scrollTop=obj.scrollHeight*(Math.random());obj.scrollTop:滚动条距离顶部的位置obj.scrollHeight:流动区域的高度Math.random():获得一个随机数很简单,有人可能需要,用就拿去,哈哈PS:IE6/IE7/FF2测试通过IE7在本地测试时只是每次打开时滚动条位置才不同,刷新却没有变化,但放到网站上之后就正常了代码如下:[html]<divid="cc"style="heig...
http://www.jb51.net//article/16514.htm
inputfile在系统默认下的外观:我们最多通过定义input的border来改变系统默认的外观:如果要让浏览按钮更漂亮一点,我们想定义它的背景颜色,甚至想用背景图片来代替,通过css定义inputflie还真是办不到的。偶然看到一篇文章:inputfile文件选择框美化作者是把系统默认的按钮设置透明度为0,再定义一个label标签样式,来覆盖透明掉的按钮。按照作者的方法,我也试验了一下,代码如下: [html]<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml...
http://www.jb51.net//article/16512.htm
共有:5324/10,当前8/533页  [首页] [上一页] 4 5 6 7 8 9 10 11 [下一页]  [尾页] 转到: