i use pluploadqueue upload files function work except showing, think maybe it's due style confict. want know, have meet issue before that? using mvc + bootstrap modal + bootstrap dialog + plupload queue
i can't upload picture, how reputaton?
var uploader1 = $("#uploader1").pluploadqueue({ // general settings runtimes: 'html5,silverlight,flash,html4', url: '@url.action("plupload", "document")' + '?hasmodification=true', chunk_size: '2mb', //allow multiple files max_file_count: 10, // specify files browse filters: { // maximum file size max_file_size: '20mb', // specify files browse mime_types: [ { title: "allowed files", extensions: "@model.pluploadallowedextensions" } ] }, // rename files clicking on titles rename: true, // sort files sortable: true, // enable ability drag'n'drop files onto widget (currently html5 supports that) dragdrop: true, //// views activate views: { list: true, thumbs: false, // show thumbs active: 'list' }, init: { postinit: function () { // called after initialization finished , internal event handlers bound. http://www.plupload.com/examples/events // uploader must in html4 mode initialized before it's hidden: http://stackoverflow.com/questions/11898082/plupload-html4-add-files-dialog-not-triggering-in-ie // prepare uploader if ('@model.hasuploadfiles' == 'true') { $("#haschanged").attr('value', true); $("#uploader1").show(); } else { $("#uploader1").hide(); } //// force resize function not working. fix window size //$('#formid').css("overflow", "hidden"); }, }, // flash settings flash_swf_url: '@url.content("~/scripts/plupload/moxie.swf")', // silverlight settings silverlight_xap_url: '@url.content("~/scripts/plupload/moxie.xap")' });
Comments
Post a Comment