上一页 1 2 3 4 5 6 ··· 11 下一页
  2010年3月29日
摘要: /Files/hcmfys/SngServer.rar 阅读全文
posted @ 2010-03-29 21:55 hcmfys_lover 阅读(376) 评论(0) 推荐(0) 编辑
  2010年1月9日
摘要: Unicode是一种字符编码规范 。先从ASCII说起。ASCII是用来表示英文字符的一种编码规范,每个ASCII字符占用1个字节(8bits) 因此,ASCII编码可以表示的最大字符数是256,其实英文字符并没有那么多,一般只用前128个(最高位为0),其中包括了控制字符、数字、大小写字母和其他一些符号 。而最高位为1的另128个字符被成为“扩展ASCII”,一般用来存放... 阅读全文
posted @ 2010-01-09 14:37 hcmfys_lover 阅读(320) 评论(0) 推荐(0) 编辑
  2009年11月9日
摘要: 1、Ext.apply(Object obj, Object config, Object defaults ) : Object将config中的所有属性复制到obj中,如果配置了defaults,则先将defaults中的属性传入obj,然后再将config中属性传入,一般defaults用于定义一些默认值。注意:每个参数都必须是对象object,而不能是function或其他。创建objec... 阅读全文
posted @ 2009-11-09 14:52 hcmfys_lover 阅读(440) 评论(0) 推荐(0) 编辑
摘要: call 方法 请参阅 应用于:Function 对象 要求 版本 5.5 调用一个对象的一个方法,以另一个对象替换当前对象。 call([thisObj[,arg1[, arg2[, [,.argN]]]]]) 参数 thisObj 可选项。将被用作当前对象的对象。 arg1, arg2, , argN 可选项。将被传递方法参数序列。 说明 call 方法可以用来代替另一个对象调用一个方法。ca... 阅读全文
posted @ 2009-11-09 14:49 hcmfys_lover 阅读(425) 评论(0) 推荐(0) 编辑
摘要: Ext.extend方法是用来实现类的继承。 extend(Object subclass,Object superclass,[Object overrides] : Object 第一个参数:子类 第二个参数:父类 第三个参数:要覆盖的属性。 这里需要强调一下,子类继承下来的是父类中通过superclass.prototype方式定义的属性(包括用此方法定义的函数)。 例子如下: Js代码 &... 阅读全文
posted @ 2009-11-09 14:39 hcmfys_lover 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 往Ext.Window中放一个Ext.form.FormPanel,FormPanel有一个属性为url,可以设置其的值,可参照下面的代码://Form表单var addManagerInfoForm = new Ext.form.FormPanel({ labelAlign:'right', labelWidth:70, frame:true, url:'manage/manager/addMa... 阅读全文
posted @ 2009-11-09 12:02 hcmfys_lover 阅读(298) 评论(0) 推荐(0) 编辑
摘要: //按扭 var dateBtn = new Ext.Action({ text:'按日期', tooltip:'按日期查看当月报表', handler:function(){ Ext.getDom('iframeA').src = '/EXTcash/cashOutAction.do?method=lineChart&flag=coutDate'; }});var typeBtn = n... 阅读全文
posted @ 2009-11-09 12:01 hcmfys_lover 阅读(455) 评论(0) 推荐(0) 编辑
摘要: JScript code <script type="text/javascript"> var user1 = new Ext.form.TextField({ }) var user2= new Ext.form.TextField({ }) var c_window = new Ext.Window({ title: 'title', width: 950, height:... 阅读全文
posted @ 2009-11-09 12:00 hcmfys_lover 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: Ext.window一般是类似 Ext.viewport样的是可以放 formpanel,grid等 这些都是在同一个页面中,只是有js生成。如果你要求window里面放一个url 链接到另一个页面 如nextPage.jsp那么就要用到iframe发给例子给你吧var url = ../game/game.action"; var win = new Ext.Window({ title : '... 阅读全文
posted @ 2009-11-09 11:58 hcmfys_lover 阅读(635) 评论(0) 推荐(0) 编辑
  2009年11月6日
摘要: <scripttype="text/javascript">varname="windowmethod";functionparentClass(){this.name="parentClassmethod";this.method=function(){alert(this.name);}}functionsubClass(){//varmethod=this.method;//th... 阅读全文
posted @ 2009-11-06 17:35 hcmfys_lover 阅读(271) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页