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:8347 | -solrac, February 1, 2011
More Programming articles...

Buy Art Online with Satisfaction Guaranteed

Selected articles

Librenix T-Shirts and Coffee Mugs!

Microsoft to push unlicensed users to Linux

Space Tyrant: Multithreading lessons learned on SMP hardware

Missing the point of the Mac Mini

Hacker Haiku

Programming Language Tradeoffs: 3GL vs 4GL

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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