| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1008 人关注过本帖
标题:SWFUpload上传求助
取消只看楼主 加入收藏
didozhp
Rank: 2
等 级:论坛游民
帖 子:38
专家分:20
注 册:2009-8-7
结帖率:87.5%
收藏
已结贴  问题点数:0 回复次数:2 
SWFUpload上传求助
http://demo.
图片附件: 游客没有浏览图片的权限,请 登录注册

链接是在线的,我想知道图片中的跳出那个框是怎么实现的,求助啊。那些代码看的有点乱了
搜索更多相关主题的帖子: 图片 在线 
2011-02-10 15:21
didozhp
Rank: 2
等 级:论坛游民
帖 子:38
专家分:20
注 册:2009-8-7
收藏
得分:0 
回复 2楼 aspic
那这个flash要自己写的还是有现成的?
2011-02-10 15:58
didozhp
Rank: 2
等 级:论坛游民
帖 子:38
专家分:20
注 册:2009-8-7
收藏
得分:0 
回复 6楼 gupiao175
很感谢你的回答,我已经在官网上找到了那个swf文件,引用一下代码和swf就行了。
程序代码:
window.onload = function() {
            var settings = {
                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="theFont">Hello</span>',
                button_text_style: ".theFont { font-size: 16; }",
                button_text_left_padding: 12,
                button_text_top_padding: 3,
                
                // 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 = new SWFUpload(settings);
         };

2011-02-10 20:28
快速回复:SWFUpload上传求助
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.012603 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved