开发者

uploadify and absolute filepaths?

开发者 https://www.devze.com 2022-12-31 05:46 出处:网络
can anyone with experience of the plugin see anything I\'m doing wrong? var SITE_ROOT = \'http://localhost/hf_latest_desktop/\';

can anyone with experience of the plugin see anything I'm doing wrong?

var SITE_ROOT = 'http://localhost/hf_latest_desktop/';

    $("#uploadify").uploadify({
        'uploader'       : SITE_ROOT+'st_wd_assets/js/uploadify/scripts/uploadify.swf',开发者_开发技巧
        'script'         : SITE_ROOT+'st_wd_assets/js/uploadify/scripts/uploadify.php',
        'cancelImg'      : SITE_ROOT+'st_wd_assets/js/uploadify/cancel.png',
        'folder'         : SITE_ROOT+'res/img/temp',
        'auto'           : true,
        'multi'          : false,
        'buttonImg'      : SITE_ROOT+'st_wd_assets/img/uploadify-button.png'
    }); 

it loads in the swf fine (can see it in firebug), however the upload button does not show and there is no functionality?


Ok after a whole day of trying to get this to work, i've abandoned uploadify and am now using plupload which seems much better.

0

精彩评论

暂无评论...
验证码 换一张
取 消