Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function () {
- setDIVHeight();
- });
- jQuery(window).resize(function () {
- setDIVHeight();
- });
- function setDIVHeight() {
- var theDiv = jQuery('.full_width_area');
- var divTop = theDiv.offset().top;
- var winHeight = jQuery(window).height();
- var divHeight = winHeight - divTop;
- theDiv.height(divHeight);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement