Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. function heightDetect() {
  2. $(".header").css("height", $(window).height());
  3. };
  4.  
  5. heightDetect();
  6. $(window).resize(function() {
  7. heightDetect();
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement