上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: $gameid = $this->input->post('gameid'); $id = $this->input->post('id'); $query = $this->db->select('cmd,req,rsp')->where(array('gameid'=>$gameid,'interface_id'=>$id))->order_by("id", "desc")->get('id... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(119) 评论(0) 推荐(0)
摘要: var panel = new Ext.Panel({ region: "south", xtype : 'panel', height : 25, items :[{ id : 'help', xtype : 'panel', listeners : { afterrender : function(p){ p.getEl().dom.innerHTML = ''; var store = ... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(558) 评论(0) 推荐(0)
摘要: 什么是同源策略?同源策略阻止从一个域上加载的脚本获取或操作另一个域上的文档属性。也就是说,受到请求的 URL 的域必须与当前 Web 页面的域相同。这意味着浏览器隔离来自不同源的内容,以防止它们之间的操作。这个浏览器策略很旧,从 Netscape Navigator 2.0 版本开始就存在。 URL 说明 是否允许通信 http://www.playgoogle... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(221) 评论(0) 推荐(0)
摘要: ExtJs之Ext.data.StoreStore.getCount()返回的是store中的所有数据记录,然后使用for循环遍历整个store,从而得到每条记录。除了使用getCount()的方法外,还可以使用each()函数,如下面的代码所示。 store.each(function(record){ alert(record.get('name')); });store.each(... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(127) 评论(0) 推荐(0)
摘要: 今天 客户提问题说,导出的excel文件,该换行的单元格没有换行。通过查找资源找到了解决方法。翻出来源码开了下,字符串中使用换行的方法为"Name:{$name}\nAddress:{$adress}\nCity:{$city}\nCountry:{$country}\n ......" 既然"\n"起不到换行的目的,修改成"\r\n"看看. 修改 =》 提交 =》测试 得出的结果还是 没有换行!... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(916) 评论(0) 推荐(0)
摘要: 在Ext(Version2.2和目前的Version3.1.1 Version3.2)里面存在一个BUG,就是当设置了 stripeRows:true, 并没有出现斑马线的效果,解决的办法是在定义一个css类,放置在一个独立的css文件里面,页面加以引用。.x-grid3-row-alt {background-color:#CCC} 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(123) 评论(0) 推荐(0)
摘要: SELECT e.entryname 'name',e.entrytype 'type',IF(e.isarr=2,TRUE,FALSE) isarr,m.value 'value',e.entrydesc 'desc',e.id id FROM proto_struct_entry e LEFT JOIN net_macro m ON m.name = e.entrysize WHERE (e.... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(189) 评论(0) 推荐(0)
摘要: editorgrid禁用某个单元格没没试过只做过禁用所有行或某行你百度一下editorgrid如何禁用单元格processPage.grid.on("beforeedit",function(e){varcurrRecord=e.record;e.cancel=true;})这是禁用行的 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(144) 评论(0) 推荐(0)
摘要: EXTJS 动态数据 行里面 添加 删除 操作 /*! * Ext JS Library 3.1.1* Copyright(c) 2006-2010 Ext JS, LLC* licensing@extjs.com* http://www.extjs.com/license*/// Application instance for showing user-feedback messages.va... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(548) 评论(0) 推荐(0)
摘要: Eclipse+php插件+Xdebug搭建PHP完美开发/调试环境指南作者:联系我:colt.hawkins[at]gmail.com colt.hawkins@gmail.com" href="http://be-evil.org/author/1">朦朧中的罪惡 发布于:2008-6-18 13:06 Wednesday 分类:PHP 最近要开始使用Zend框架开发中型应用系统了,由于采用完... 阅读全文
posted @ 2012-06-26 10:15 holyes 阅读(233) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页