Hai everybody,
I am uisng * valums/file-uploader
i need help in mouseover or mouseup a uploadbutton. after upload a image.
anybody plz help me.
this code no working.
remove this two lines working fine.
$("#btnUploadPlanPicture").hover(function()
{
$("#btnUploadPlanPicture").mouseup(function()
{
anybody plz help me.
$(document).ready(function()
{
$("#btnUploadPlanPicture").hover(function()
{
$("#btnUploadPlanPicture").mouseup(function()
{
var uploader = new qq.FileUploader(
{
element: document.getElementById('btnUploadPlanPicture'),
action: upload_url,
params:
{
album: album,
type: 'plan',
desc: 'plan',
},
allowedExtensions: ['jpg','png','gif'],
onSubmit: function(id,filename)
{
imgCount = 0;
imgList = new Array();
fnOpenDialog();
},
onComplete: function(id, fileName,responseJSON)
{
imgList[imgCount++] =
{
id : responseJSON.id,
imagetakendate : responseJSON.imagetakendate
};
createPlanspaceImage(responseJSON);
return true;
},
onAllComplete: function(status)
{
//sortByTimeTaken();
//imgGroup();
//imgGroup();
//alert(fileSizeOption);
if(fileSizeOption =="Random")
{
ArrRandomly();
imgGroup();
}
if(fileSizeOption =="TimeTaken")
{
sortByTimeTaken();
imgGroup();
}
if(fileSizeOption =="notarrange")
{
notArrange();
//alert("not arrange");
}
}
});
});
});
});