How to change Download show after upload by jQuery-File-Upload?

Up vote 0 down vote favorite 1 share g+ share fb share tw.

I've installed this add-on github.com/blueimp/jQuery-File-Upload but I had a big problem to modify the view after you finish uploading, I want to do a show all by making the image raised in a specific div I hope all edits must be in jquery. Fileupload-uix. Js , and in this code exactly : this.

GetFileUrl = function (file, handler) { return file. Url; }; this. GetThumbnailUrl = function (file, handler) { return file.

Thumbnail; }; this. BuildMultiDownloadRow = function (files, handler) { var rows = $(''); $. Each(files, function (index, file) { rows.

Append(handler. BuildDownloadRow(file, handler).show()); }); return rows; }; this. BuildDownloadRow = function (file, handler) { if ($.

IsArray(file)) { return handler. BuildMultiDownloadRow(file, handler); } var fileName = handler. FormatFileName(file.

Name), fileUrl = handler. GetFileUrl(file, handler), thumbnailUrl = handler. GetThumbnailUrl(file, handler), downloadRow = handler.

DownloadTemplate .clone(). RemoveAttr('id'); downloadRow. Attr('data-id', file.

Id || file. Name); downloadRow. Find('.

File_name a') . Text(fileName); downloadRow. Find('.

File_size') . Text(handler. FormatFileSize(file.

Size)); if (thumbnailUrl) { downloadRow. Find('. File_download_preview').

Append( $(''). Append($(''). Attr('src', thumbnailUrl || null)) ); downloadRow.

Find('a'). Attr('target', '_blank'); } downloadRow. Find('a') .

Attr('href', fileUrl || null) . Each(handler. EnableDragToDesktop); downloadRow.

Find('. File_download_delete button') . Button({icons: {primary: 'ui-icon-trash'}, text: false}); return downloadRow; }; and in HTML : Start Cancel Delete Start All Cancel All name I try and try but there are no code that I believe that it good to show ... thanks ... php javascript jquery upload link|improve this question edited May 11 '11 at 17:02bungdito586323 asked May 11 '11 at 16:30Abdula133.

– pixelbobby May 11 '11 at 16:33 @pixelbobby I mean that now if you upload , the items you uploaded will be like : Delete but I want it to change it to be in div's I show it in topic .. – Abdula May 11 '11 at 17:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions