Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 670 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 670 Bytes

File Splash

filesplash

Handle file drops easily on your website

Simple to use, just include the header:

<script href="http://www.michalpaszkiewicz.co.uk/filesplash/@script.js"></script>

and set what you want to happen on filesplash:

FileSplash.onFileSplash(function(name, text){
    alert(name);
});

Try it out:

http://www.michalpaszkiewicz.co.uk/filesplash/

You can also edit the colour of the water by redefining black...

FileSplash.Drawing.Colours.black = "orange";

(For the very creative, this value can also take gradients!)