This is a very simple vanilla JS script that allows you to make a DOM element draggable. I wrote this mainly to practice writing things myself in JS, since I was annoyed with how someone else had written theirs. Naturally jQuery has many more features, but this was fun practice =]
Free to use in any projects without notifying me, nor is credit needed (though it'd be much appreciated!). Just do not re-distribute it under anyone else's name and be sure to retain the copyright notice in the source!
Copyrighted © 2013 by Greg McLeod
GitHub: https://github.com/cleod9