![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
hcmfys2009
这个作者很懒,什么都没留下…
展开
-
iis不能运行asp的解决办法
iis只可以运行html就是运行不了asp提示这个东西Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more deta...2008-06-02 15:39:00 · 443 阅读 · 0 评论 -
Ext.Window更换iframe的地址
Ext.window一般是类似 Ext.viewport样的是可以放 formpanel,grid等 这些都是在同一个页面中,只是有js生成。如果你要求window里面放一个url 链接到另一个页面 如nextPage.jsp那么就要用到iframe发给例子给你吧var url = ../game/game.action"; var win = new Ext.Window({ title ...2009-11-09 11:58:00 · 95 阅读 · 0 评论 -
js的constructor callee caller
<script type="text/javascript">var name ="window method";function parentClass() { this.name = "parentClass method"; this.method = function() { alert(this.name); }}function subCla...2009-11-06 17:35:00 · 105 阅读 · 0 评论 -
js 移动限制
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style type="text/css">html,body{margin:0px; padding:0px; fon2009-11-06 17:34:00 · 95 阅读 · 0 评论 -
Ext Extends test
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <meta http-equiv="Content-Type" content="text/html; charse2009-11-06 17:33:00 · 201 阅读 · 0 评论 -
panel自适应高度
/* monitorResize: true, doLayout: function() { this.setWidth(window.screen.width); Ext.grid.GridPanel.prototype.doLayout.call(this); } ,*/ listeners :{ bodyresize:function() { th...2009-11-06 17:30:00 · 333 阅读 · 0 评论 -
EXt ComBox
Ext combox从后台取值var RecordDef = Ext.data.Record.create([ {name: 'id'},{name: 'name'} ]); var cityStore = new Ext.data.Store({ proxy:new Ext.data.HttpProxy({url:'c...2009-11-06 17:26:00 · 69 阅读 · 0 评论 -
Js:数组的各种方法范例pop,push,unshift,splice,shift
2008-02-18 15:26 <script> Array.prototype.pop=function(){ if(this.length!=0)this.length--; return this; ...2008-11-18 11:08:00 · 77 阅读 · 0 评论 -
BSTR、LPSTR和LPWSTR
在Visual C++.NET的所有编程方式中,我们常常要用到这样的一些基本字符串类型,如BSTR、LPSTR和LPWSTR等。之所以出现类似上述的这些数据类型,是因为不同编程语言之间的数据交换以及对ANSI、Unicode和多字节字符集(MBCS)的支持。那么什么是BSTR、LPSTR以及LPWSTR呢? BSTR(Basic STRing,Basic字符串)是一个OLECHAR*类型的U...2009-10-19 16:10:00 · 77 阅读 · 0 评论 -
Ie和firefox的Js区别
1. 对象问题 1.1 Form对象 现有问题:现有代码这获得form对象通过document.forms("formName"),这样使用在IE 能接受,MF 不能。解决方法:改用 作为下标运算。改为document.forms["formName"]备注上述的改用 作为下标运算中的formName是id而name1.2 HTML对象 现有问题:在 IE 中,HTML 对...2008-08-14 11:32:00 · 75 阅读 · 0 评论 -
js div
scrollHeight: 获取对象的滚动高度。scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离scrollWidth:获取对象的滚动宽度offsetHeight:获取对象相对于版面或由父坐标 offsetParent 属性指定的父坐标的高度offsetLeft:获取对象...2008-07-09 17:49:00 · 72 阅读 · 0 评论 -
fixChildNode
[code="java"]function fixNodeList(obj){ var o=obj.childNodes; var size=o.length; alert(size); var p=[]; var index=0 for(var i=0;i原创 2013-11-26 22:46:00 · 86 阅读 · 0 评论