32位系统: 将文件放到c:\windows\system目录注册 运行:Regsvr32 c:\windows\system\xxx.ocx取消注册运行:Regsvr32.exe /u c:\windows\system\xxx.ocx 64位系统注册32位文件: 将文件放到c:\windows\...
分类:
其他好文 时间:
2014-06-29 06:08:08
阅读次数:
170
设置定时器,在一段时间之后执行指定的代码,setTimeout与setInterval的区别在于setTimeout函数指定的代码仅执行一次 方法一: window.setTimeout("alert('ok')",5000); 方法二: window.setTimeout(function() {...
分类:
Web程序 时间:
2014-06-29 00:50:05
阅读次数:
254
755 vs 644在linux下载了Qt的软件仓库,拷贝了一份到windows下。在 msysgit 下,发现所有的文件都被修改了。用 git diff 查看,发现是:$ git diff util/webkit/mkdist-webkitdiff --git a/util/webkit/mkdi...
分类:
其他好文 时间:
2014-06-29 00:40:32
阅读次数:
678
报错:当前标识(NT AUTHORITY\NETWORK SERVICE)没有对C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files写访问权限解决办法:管理员身份运行cmd输入:net localgroup "Ad...
分类:
Web程序 时间:
2014-06-28 23:05:21
阅读次数:
532
官方网址:http://search.cpan.org/~stbey/Date-Calc-6.3/lib/Date/Calc.pod#___top use Date::Calc qw( Days_in_Year Days_in_Month Weeks_in_Year ...
分类:
其他好文 时间:
2014-06-28 21:46:03
阅读次数:
506
push()末尾推入元素 返回数组长度pop()末尾弹出元素 返回弹出元素shift()起始弹出元素 返回弹出元素unshift()起始推入元素 返回数组长度代码如:var arr1 = ["b","c","d","e"];var arr2 = arr1.push("f");//arr1:["b",...
分类:
其他好文 时间:
2014-06-28 21:38:30
阅读次数:
237
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE)) .hideSoftInputFromWindow(LoginActivity.this .getCu...
分类:
其他好文 时间:
2014-06-28 21:23:49
阅读次数:
194
1.document.write(“”); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:
编程语言 时间:
2014-06-28 20:08:42
阅读次数:
326
4.5 window.event应用
function body_onclick(){
alert("鼠标点击的坐标是\r\nx:"+event.x+",y:"+event.y);
}
获取鼠标的坐标
课连续点击...
分类:
编程语言 时间:
2014-06-18 06:18:22
阅读次数:
274
1.window.showModalDialog("OA_JDB.html",StrZy, "dialogWidth=600px;dialogHeight=200px"); }2, document.getElementById("p1").innerHTML = windo...