This time I will share jQuery Plugin and tutorial about Cross-platform Element Full Height Solution with jQuery – FullHeight, hope it will help you in programming stack.
FullHeight is a jQuery based cross-browser and cross-platform full height solution to dynamically make any elements full window (fullscreen) that works perfectly with window resize event.
How to use it:
1. Download and include the jQuery FullHeight plugin after you’ve included jQuery JavaScript library.
1 |
< script src = "//code.jquery.com/jquery-2.1.4.min.js" ></ script > |
2 |
< script src = "dist/jquery-fullheight.min.js" ></ script > |
2. Call the fullheight()
function on an html element to make it full height whatever you resize the browser window.
1 |
$( '#selector' ).fullheight(); |
3. Options and defaults.
01 |
$( '#selector' ).fullheight({ |
07 |
allowDeviceHeightResize: false , |
13 |
property: 'min-height' |
This awesome jQuery plugin is developed by yrkup3. For more Advanced Usages, please check the demo page or visit the official website.