ganzqgy
Members-
Posts
132 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Events
Everything posted by ganzqgy
-
extjs4.2+unigui0.96: 1.ext-4.2.1.883\src\ux\: PagingToolbarResizer.js,PreviewPlugin.js 2.ext.grid.panel: function added(sender, container, pos, eOpts) { if (sender.pagingBar) { sender.pagingBar.hide(); sender.pagingBar.border = "0 none"; sender.pagingBar.destroy(); sender.addDocked( {dock: 'bottom', items: [Ext.create('Ext.PagingToolbar', { pageSize: sender.store.pageSize, store: sender.store, displayInfo: true, plugins: Ext.create('Ext.ux.PagingToolbarResizer',{displayText: 'Records per Page', options : [ 5, 10, 15, 20, 25 ]}) })] }); } } ux.zip
-
<script type="text/javascript"> $(function() { $("#uploader").plupload({ runtimes : 'html5,flash,silverlight,html4', url : '{gggggg}', max_file_size : '1000mb', max_file_count: 20, multi_selection: true, chunk_size: '1mb', //unique_names : true, //上传的文件名是否独一 //resize:{width:200,height:200,quality:90,crop:true},//是否生成缩略图(仅对图片文件有效) filters:[{title:"Image files",extensions:"jpg,gif,png"},{title:"Zip files",extensions:"zip,avi"}], rename: true, sortable: true, dragdrop: true, views:{list:true,thumbs:true,active:'thumbs'}, flash_swf_url:'plup212/Moxie.swf', silverlight_xap_url:'plup212/Moxie.xap', init:{UploadComplete: function(up, files){ top.ajaxRequest(top.MainForm.UniURLFrame2, 'gggggg', []); //alert(files.length); } } }); }); </script> procedure TMainForm.UniURLFrame2AjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin if EventName = 'gggggg' then begin // close; end; end;
-
unigui+fineuploader+plupload.flash.swf unigui+fineuploader+plupload.zip
-
http://fineuploader.com/demos.html
-
-
Can greatly improve the first download speed, if after the browser cache, speed is the same.
-
/ / loading CDN files on JS, the original ext-all.js was renamed ext-all-1.js, and an empty ext-all.js serverModule custommeta: <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> if (typeof jQuery != 'undefined') {document.write(unescape("%3Cscript src='http://cdn.bootcss.com/extjs/4.2.1/ext-all.js'%3E%3C/script%3E")); } else {document.write(unescape("%3Cscript src='ext-4.2.1.883/ext-all-1.js'%3E%3C/script%3E")); } </script>
-
The proposed Farshad add the layout function.
-
demo layout.zip
-
1、The outermost layer of a unipanel function afterCreate(sender) //0.95 is 'function beforeInit(sender)' { sender.layout= 'accordion'; //sender.layout= 'border'; //sender.layout= 'card'; //sender.layout= 'hbox'; } 2、Inside, a few unipanel(collapsible=true),Other controls can be the unipanel
-
function window.activate(sender, eOpts) { Ext.DomHelper.overwrite("body","<img src=.........."); }
-
Like beauty caught our eye, please charge, we too need you.
-
Good!!
-
Extjs5 JS is very small, the speed must be very fast.
-
What time unigui to support it?
-
HTMLFrame1.AfterScript 0.96 1046 no
-
js: MainForm.UniEdit1.setValue(MainForm.UniURLFrame1.iframe.contentWindow.document.getElementById("中文").innerHTML);
-
UniSession.JSCode('name_'+MainForm.UniURLFrame1.name+'_'+MainForm.UniURLFrame1.JSName+'.myinput4.innerHTML="..."'); MainForm.UniURLFrame1.iframe.contentWindow.document.getElementById("中文").innerHTML="..."; MainForm.UniURLFrame1.iframe.contentWindow.fun(1,1,22,62);//function MainForm.UniURLFrame1.iframe.contentWindow.vvv = '';//var vvv