首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

高分求解.SWFupload显示不出来进度条!解决方法

2012-04-07 
高分求解...SWFupload显示不出来进度条!!本人网上找的一个SWFupload可以实现上传但是不能显示进度条??有谁

高分求解...SWFupload显示不出来进度条!!
本人网上找的一个SWFupload可以实现上传但是不能显示进度条??有谁知道问题,或者能给一个demo!知道的传邮箱wenjie4892543@sina.com 或者328897842@qq.com!!!望牛人相助。。

[解决办法]
http://demo.swfupload.org/v220/simpledemo/index.php

<SCRIPT type=3Dtext/javascript>
var swfu;

window.onload =3D function() {
var settings =3D {
flash_url : "../swfupload/swfupload.swf",
upload_url: "upload.php",
post_params: {"PHPSESSID" : ""},
file_size_limit : "100 MB",
file_types : "*.*",
file_types_description : "All Files",
file_upload_limit : 100,
file_queue_limit : 0,
custom_settings : {
progressTarget : "fsUploadProgress",
cancelButtonId : "btnCancel"
},
debug: false,

// Button settings
button_image_url: "images/TestImageNoText_65x29.png",
button_width: "65",
button_height: "29",
button_placeholder_id: "spanButtonPlaceHolder",
button_text: '<span class=3D"theFont">Hello</span>',
button_text_style: ".theFont { font-size: 16; }",
button_text_left_padding: 12,
button_text_top_padding: 3,
=09
// The event handler functions are defined in handlers.js
file_queued_handler : fileQueued,
file_queue_error_handler : fileQueueError,
file_dialog_complete_handler : fileDialogComplete,
upload_start_handler : uploadStart,
upload_progress_handler : uploadProgress,
upload_error_handler : uploadError,
upload_success_handler : uploadSuccess,
upload_complete_handler : uploadComplete,
queue_complete_handler : queueComplete// Queue plugin event
};

swfu =3D new SWFUpload(settings);
};
</SCRIPT>
[解决办法]

探讨

http://demo.swfupload.org/v220/simpledemo/index.php

<SCRIPT type=3Dtext/javascript>
var swfu;

window.onload =3D function() {
var settings =3D {
flash_url : "../swfupload/swfupload.swf",
upl……

热点排行