screenfull.js is simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen. Smoothens out the browser implementation differences.
JavaScript Fullscreen API – screenfull.js

Free All Tutorial