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

Abstract Art Prints by Ray Yeargin

coding headlines

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

OpenShift Online: a non-developer guide

Detailed Error Handling In Bash

Tutorial: Create an NFS-like Storage Server with GlusterFS on Ubuntu 12.10

Develop your own Raspberry Pi OS

Unix: Shell Script Wrapper Examples

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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