how to make an interactive uploader like gmail and facebook have?


Tags: php,javascript,html,css,ajax

Problem :

I want to make a interactive uploading option like Facebook and gmail have where they show the progress of the current file in uploading and then show the respective image or name of the file over there after the upload.

Right now, i'm using php and normal html for uploading where i send the file from one page to another where php handles it accordingly but i want a interactive one which show the progress also on the same page and then the name of the file after uploading without page refresh.

I knew, it can be done with ajax and css but i don't know how. All i want a interactive upload-er which uploads the file and then provide me the respective file name.



Solution :

Gmail uses firefox file api, read more about it here https://developer.mozilla.org/en/Using_files_from_web_applications Or check this live demo http://robertnyman.com/html5/fileapi-upload/fileapi-upload.html

Hope this will help/solve ur problem ;) best luck


    CSS Howto..

    How to create dynamic table 4 columns per row using GridView?

    How to set my Django form on the center of the page

    How to create a similar background to this one

    How can I resize my iframe keeping the ratio?

    How can I delete this “a” space under the images using CSS?

    Show/hide
  • by jQuery
  • How to Draw Kundli Design (diamonds and triangles in square) using HTML and CSS?

    How can I get this css to display correctly in Chrome?

    Portrait screen with 2 pages but only one of them should show

    How to make css smaller?

    Tumblr: How to control CSS with post tagging (UPDATE: Working Method without JQuery!)

    How to do page load in jQuery?

    How can I horizontally align these divs?

    CSS Layout. Can not get idea how to fix it

    How do I get a td background color to stretch from left to right, not just the table width, in html & css?

    How to grows up a div height with a table that has your rows added dynamically?

    How to load chosen alternative css as default css? [closed]

    How to select only one child element in CSS?

    How to make a 3D banner overlay (??) with CSS

    How to use the Xpath and CSS selector in for function

    How to cancel out .table width:100% in bootstrap css

    How to get CSS pulsating effect to work in FireFox and Internet Explorer?

    How to make a smooth transition for css controlled by jQuery?

    How to make JqueryUi Slider vertical-align middle?

    CSS styles “leaking” to non-intended elements, why does it happen and how to prevent it?

    How to make a grid of interactive elements?

    How to solve the disapearing of top margins in element when using CSS3 Pie in IE7

    How to redefine a CSS class for the whole document?

    How to get Susy going with a CSS only toggle navigation

    Images set within CSS and not showing in the HTML [closed]