Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function heightDetect()
- {
- $('.main_head').css('height', $(window).height());
- }
- heightDetect();
- $(window).resize(function(){
- heightDetect();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement