【发布时间】:2012-03-20 08:39:20
【问题描述】:
在我的(非本地)服务器上使用 Uploadify 2.1.4 时,在 IE9 中一切正常。将解决方案移动到客户端服务器时,在 IE9 中加载 uploadify.swf 需要 60 秒,但在 Chrome 中可以正常工作。 IE9 将其显示为“待处理”。直接访问 swf 可以正常工作,标头显示两台服务器都运行 Apache。
我只在uploadify 论坛上追踪了一个similar incident 没有任何解决方案。
上传代码:
$("#gallery").uploadify({
// Required Settings
langFile : '/dataface/js/uploadify/uploadifyLang_en.js',
swf : '/dataface/js/uploadify/uploadify.swf',
uploader : '/image_upload.php?e50e0dc4d157efb537b37e2ea8dc78f1=53b988fc110c01ba81a2ddceabf38ab7',
// Options - HERE ARE ALL USEFUL OPTIONS, DON'T USE ANYTHING THAT ISN'T LISTED HERE
'folder' : '26',
'createFolder' : true,
'auto' : true,
'buttonText' : 'Vali pildid',
'width' : 150,
'height' : 30,
'cancelImage' : '/dataface/js/uploadify/uploadify-cancel.png',
'fileSizeLimit' : 1*512, // 0,5MB
'fileTypeDesc' : 'Image Files',
'fileTypeExts' : '*.jpg;*.jpeg;*.gif;*.png',
'method' : 'post',
'multi' : true,
'queueID' : 'fileQueue',
'queueSizeLimit' : 999,
'removeCompleted' : true,
'progressData' : 'all',
onQueueComplete: function (stats) {
// Save the form (and thus reload)
$('form[name="existing_products_record_form"]').submit();
}
});
【问题讨论】:
标签: flash internet-explorer-9 uploadify