Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. // If is mobile Safari set window height +60
  2. if (mobileSafari == 'Safari') {
  3. // Height + 60px
  4. $('.newstyle').css('height',(($(window).height()) + 60)+'px');
  5. } else {
  6. // Else use the default window height
  7. $('.newstyle').css({'height':(($(window).height()))+'px'});
  8. }
  9.  
  10. // If is mobile Safari set window height +60
  11. if (mobileSafari == 'Safari') {
  12. // Height + 60px
  13. $('.newstyle').css('height',(($(window).height()) + 60)+'px');
  14. } else {
  15. // Else use the default window height
  16. $('.newstyle').css({'height':(($(window).height()))+'px'});
  17. }
  18.  
  19. // If is mobile Safari set window height +60
  20. if (mobileSafari == 'Safari') {
  21. // Height + 60px
  22. $('.newstyle').css('height',(($(window).height()) + 60)+'px');
  23. } else {
  24. // Else use the default window height
  25. $('.newstyle').css({'height':(($(window).height()))+'px'});
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement