26 June 2011

Tutorial-jquery lazyload

Quag Mire Troll Face

Sesuai untuk yang nak blognye cepat loading. Keberkesanannye tak dijamin, yela, kalau dah blog tu banyak widget memang la lambat.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"><script type='text/javascript' src='https://sites.google.com/site/jquery01/jquery.lazyload.mini.js?ver=1.5.0'></script><script type="text/javascript">jQuery(document).ready(function($){if (navigator.platform == "iPad") return;jQuery("img").lazyload({effect:"fadeIn",placeholder: "http://3.bp.blogspot.com/_LZtXSNcp76A/THkEtEOZfrI/AAAAAAAABRo/IARVMD_8TwA/s1600/grey.gif"});});</script>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js' type='text/javascript'></script><script type='text/javascript' src='https://sites.google.com/site/jquery01/jquery.lazyload.mini.js?ver=1.5.0'></script><script type="text/javascript">jQuery(document).ready(function($){if (navigator.platform == "iPad") return;jQuery("img").lazyload({effect:"fadeIn",placeholder: "http://3.bp.blogspot.com/_LZtXSNcp76A/THkEtEOZfrI/AAAAAAAABRo/IARVMD_8TwA/s1600/grey.gif"});});</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js">
<script type='text/javascript' src='https://sites.google.com/site/jquery01/jquery.lazyload.mini.js?ver=1.5.0'></script>
<script type="text/javascript">
jQuery(document).ready(function($){
if (navigator.platform == "iPad") return;
jQuery("img").lazyload({
effect:"fadeIn",
placeholder: "http://3.bp.blogspot.com/_LZtXSNcp76A/THkEtEOZfrI/AAAAAAAABRo/IARVMD_8TwA/s1600/grey.gif"
});
});</script>


You may leave your comment :)

13 comments:

  1. BoLeh TomPanG ManDi x Kat SinI??

    ReplyDelete
  2. eza guna tutorial awk dan berhasil...makaseh share tutorial ni yer..

    ReplyDelete
  3. wah ! mmang cpat la..thanks ye !

    ReplyDelete
  4. ini nak paste dekat mane ??sorry saya newbie =)

    ReplyDelete
  5. @Miss Pink page element-Add a gadget-html javaskript than paste :)

    ReplyDelete
  6. assalamualaikum akak :) saya nie baru lagi dalam dunia blogging nie. terima kasih akak atas tutorial nie. membantu sangat2 :)btw, cara akak bagi tuto tak mengelirukan.

    Thank you :)

    ReplyDelete

Maaf kalau tak dapat nak balas komen.