#Loading Bar by Pete R. Made jquery-less by alpha-ninja A little js script that will let you add a Youtube-like loading bar to anything.
Created by Pete R., Founder of BucketListly, mostly rewritten by alpha-ninja.
License: Attribution-ShareAlike 4.0 International
To add a Youtube-like loading bar to your website, simply include loadingbar.js
and loadingbar.css
into your document's <head>
and simply call the functions as shown below:
startLoad('right')
finishLoad()