Advertisement
honghoavi

3 tips - lazy load

Nov 23rd, 2015
517
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script src='http://blogthietke.googlecode.com/files/lazypic.js'/>
  2. <script charset='utf-8' type='text/javascript'>
  3. $(function() {    
  4. $(&quot;img&quot;)  
  5. .lazyload({
  6. placeholder: &quot;https://lh3.googleusercontent.com/-Z9XhV1m9Jak/T3AqzaLp1EI/AAAAAAAACyw/Y1dC7eoBPxM/s5/eee.gif&quot;,
  7. effect: &quot;fadeIn&quot;});
  8. });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement