Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <HTML>
- .load
- {CSS}
- .load
- background: none repeat scroll 0 0 #ffffff
- position: fixed
- bottom: 0
- left: 0
- right: 0
- top: 0
- width: 100%
- height: 100%
- z-index: 9999
- JS{}
- $(document).ready(function() {
- function heightBlock () {
- $('.header').css('height', $(window).height());
- }
- heightBlock();
- $(window).resize(function () {
- heightBlock();
- });
- });
- $(window).load(function () {
- $(".load").delay(500).fadeOut("slow");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement