2016年2月25日

[转] html屏蔽右键、禁止复制

摘要: 如何在网页中屏蔽右键 众所周知,要保护一个页面,最基础的就是要屏蔽右键。而现在网页上用得最多的是function click(),即下面这段代码: <script> function click(){ if(event.button==2){ alert( '本网站欢迎您 !!'); } } doc 阅读全文

posted @ 2016-02-25 11:23 梅山民 阅读(14558) 评论(0) 推荐(1) 编辑

2016年1月29日

ExtJS 5.1 WINDOW BLUR

摘要: Description 在ExtJS 中,当点击其他地方时,关闭 window。 Answer 1 Step 1: Register for mousedown event this.panel.show(); Ext.getDoc().on("mousedown", this.handleDocM 阅读全文

posted @ 2016-01-29 15:30 梅山民 阅读(336) 评论(0) 推荐(0) 编辑

ExtJS 网页版执行工具

摘要: http://jsfiddle.net/LNfm8/1/ https://fiddle.sencha.com/#home 阅读全文

posted @ 2016-01-29 14:01 梅山民 阅读(242) 评论(0) 推荐(0) 编辑

Excel 随即获得一组数据集中的数据

摘要: 例一 =CHOOSE(RANDBETWEEN(1,6),$A$1,$A$2,$A$3,$A$4,$A$5,$A$6) 例二 =VLOOKUP(RANDBETWEEN(MIN(MyStrings[ID]),MAX(MyStrings[ID])),MyStrings,2,0) 例三 =INDEX(A:A 阅读全文

posted @ 2016-01-29 13:50 梅山民 阅读(281) 评论(0) 推荐(0) 编辑

2016年1月25日

[转] Spring Data JPA Tutorial: Pagination

摘要: http://www.petrikainulainen.net/programming/spring-framework/spring-data-jpa-tutorial-part-seven-pagination/Spring Data JPA Tutorial: PaginationPetri ... 阅读全文

posted @ 2016-01-25 10:54 梅山民 阅读(615) 评论(0) 推荐(0) 编辑

2016年1月19日

Set up eclipse for Ext js and spket IDE plugin

摘要: DescriptionSimply use Eclipse menu ... help->"Install New Software". You paste in the update sitehttp://www.agpad.com/update/then select Spket IDE whe... 阅读全文

posted @ 2016-01-19 22:14 梅山民 阅读(166) 评论(0) 推荐(0) 编辑

ExtJS Alias, xtype and widget

摘要: DescriptionWhat is exactly the relationship between these three different concepts? I know that if you alias a class bywidget.nameyou can later use it... 阅读全文

posted @ 2016-01-19 22:10 梅山民 阅读(920) 评论(0) 推荐(0) 编辑

ExtJS stores - load JSON only once

摘要: Description目的是不要每次都加载 json文件,从而加快运行速度。CodeYou could configure your stores with a memory proxy:store: { model: 'Forum.model.Post', proxy:{ ... 阅读全文

posted @ 2016-01-19 22:01 梅山民 阅读(224) 评论(0) 推荐(0) 编辑

ExtJS timeout

摘要: DescriptionExtJS timeoutExample 1 this.panelWin = new Ext.Window({ 2 border: false, 3 resizable: false, 4 ... 阅读全文

posted @ 2016-01-19 21:55 梅山民 阅读(719) 评论(0) 推荐(0) 编辑

ExtJS Defer

摘要: DescriptionExtJS 推迟方法。Example1 Ext.defer(MyApp.destroyWindow, /* function to call */2 5000, /* timeout in milliseconds */,3 MyApp,... 阅读全文

posted @ 2016-01-19 21:47 梅山民 阅读(1130) 评论(0) 推荐(0) 编辑

导航