There is a pluploader, it has a file drop zone and its id is dropFilesHere;
var uploader = new plupload.Uploader({
drop_element : "dropFilesHere",
/*...*/
});
I would like to make some changes* (like gmail file attachment) on the drop zone if the user holds the file over it.
*For example:
.mouse_over{
border-width:5px border-style:dashed #808080;
}
Sample:

How can I do this?
uploader.bind('Init', function(up, params) {
$('#filelist').html("<div>Current runtime: " + params.runtime + "</div>");
if(params.runtime === 'html5') {
$('#dropFilesHere').on({
"dragenter": function(){
$(this).addClass('mouse_over');
},
"dragleave drop": function(){
$(this).removeClass('mouse_over');
}
});
}
});
Provided the initialized runtime is html5, you can try something like this :
tested on Chrome 18 and Firefox 11.
Hope this can help.
I realize another issue is then to disallow dropping outside of the drop-zone…