Skip to content

MichalPaszkiewicz/filesplash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!)