Skip to content
Splash files easily into your project!
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
@script.js
@script.js.map
README.md
filesplash.png
index.html
styles.css
tsconfig.json

README.md

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

You can’t perform that action at this time.