Created
June 22, 2014 17:36
-
-
Save Silvenga/34edb2d98af00bb0f652 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This is a jquery plugin - we need jquery > 2.1 --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<!-- Off load the animations to CSS so we can get hardware acceleration --> | |
<link rel="stylesheet" type="text/css" href="jquery.lazyView.min.css" /> | |
<!-- The lazyView script --> | |
<script src="jquery.lazyView.min.js"></script> | |
<script> | |
$(document).ready(function() { | |
// Select the HTML portion to lazyView. | |
// To ensure a smooth transition set the element's visibility to hidden | |
// LazyView will make the selected element visible when complete with setup | |
$('body').lazyView(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment