Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. $(document).ready(function() {
  2.  
  3. function heightDetect(){
  4. $(".main_head").css("height", $(window).height());
  5. };
  6. heightDetect();
  7. $(window).resize(function(){
  8. heightDetect();
  9. });
  10. });
  11.  
  12. $(window).load(function() {
  13. $(".loader_inner").fadeOut();
  14. $(".loader").delay(400).fadeOut("slow");
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement