Created
February 11, 2014 10:59
-
-
Save surjithctly/8932897 to your computer and use it in GitHub Desktop.
Window height for div even on resize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
function e(){ | |
var e=$(window).height(); | |
$(".banner").css("height",e) | |
} | |
e(),$(window).resize(e)}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment