Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

HTML5: Drag and Drop to a webpage

Up
vote
Down

Here's a cool, simple but useful demonstration that exercises HTML5 in a novel way. Get the key methods needed to implement the File APIs to use Drag and Drop to select an image file off your local file system.
For my example, I have provided a palette from which to drag & drop into, or alternatively use the File chooser, to select image files off your local file system. For this example, please select image files only, as I have not built in any filtering or error detection for non-graphical files.
 read more | mail this link | score:8549 | -solrac, February 1, 2011
More Programming articles...

Abstract Art on stretched canvas

coding headlines

No Starch Press has published my Perl One-Liners book!

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin