Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Uploadify and BlockUI
  • I've made up some code so these 2 work together ...

    $('#file_upload').uploadify({
    'uploader': '/js_scripts/Uploadify/uploadify.swf',
    'cancelImg': '/js_scripts/Uploadify/cancel.png',
    'script': '/Handlers/Upload.ashx',
    'fileExt': '*.jpeg;*.jpg;*.gif;*.png;*.bmp;',
    'scriptData': {
    'type': 'Offerte',
    'ASPSESSID': '<%=Session.SessionID %>',
    'AUTHID': '<%=AuthCookie %>'
    },
    'buttonText': 'Selecteer bestand',
    'fileDesc': 'Image Files',
    <strong>'queueID': 'queue2'</strong>,
    'displayData': 'speed',
    'sizeLimit': 20971520,
    'auto': false,
    });

    $("SomeDiv").block({
    message: $('#BlockUI_container'), css: { width: '370px', height: '100px' },
    onBlock : function () { $('#file_upload').uploadifyUpload(); }
    });


    you see I have a div that contains the progress bar of uploadify and I tell blockui to block my form and show the div (that contains the progress bar) as message ... This is all working great in IE ... but in all the others ... the upload is not starting

    i see the progress bar and all .. but its not going ...

    Now does some1 have the same problems? or some 1 has a solutions for this?
    Or is there some1 pleased to take some time to track this problem ...

    I've tried to understand the code of blockui to see where the problems are .. but i don't get it ...
    Its like the events are unbinded from the swf control ...

    Thanks in advance
  • I got it working by creating a another div (absolute positioned) with the same position and dimension as the one that needs to be blocked. And I block this div instead ...

    Not much code extra and with this ... its working perfect!