Cross platform Element Full Height Solution with jQuery FullHeight - Download Cross-platform Element Full Height Solution with jQuery - FullHeight

Download Cross-platform Element Full Height Solution with jQuery – FullHeight

Posted on

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.

Cross platform Element Full Height Solution with jQuery FullHeight - Download Cross-platform Element Full Height Solution with jQuery - FullHeight
File Size: 14.8 KB
Views Total: 527
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   



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({
02  
03   // enable debug mode
04   debug: false,
05  
06   // <a href="https://www.jqueryscript.net/tags.php?/Scroll/">Scroll</a> fix for some mobile devices
07   allowDeviceHeightResize: false,
08  
09   // Parent container
10   container: window,
11  
12   // Element css property to change on container resize
13   property: 'min-height'
14    
15 });

This awesome jQuery plugin is developed by yrkup3. For more Advanced Usages, please check the demo page or visit the official website.




source : jqueryscript.net