Last active
November 23, 2015 20:20
-
-
Save apozse/3952a830666888a585d6 to your computer and use it in GitHub Desktop.
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 setHeaderHeight() { | |
| $(".main_head").css("height", $(window).height()); | |
| } | |
| setHeaderHeight(); | |
| $(window).resize(function() { | |
| setHeaderHeight(); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment