Cara Meringankan Blog :
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></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: "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUwYlITC8SYXLUN8Dhp-ExACrrwv817pm8v6H-SDtW6wSw6nIqQw9K_JhKH6GIK9AoqQ0f-n1cBFgfh8oyBN5n82-L91txYrqfy9kXHIcHlxSYMKng5LlHQvjhvN1KNFvcEmf73aN2VMg/s1600/grey.gif"
});
});
</script>
setelah itu save
Trik ke 2 ---Go to >>Rancangan >> Edit Html
Ctrl F dan cari kode </body>
Kemudian, Copy kode dibawah Sebelum :</body>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></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: "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUwYlITC8SYXLUN8Dhp-ExACrrwv817pm8v6H-SDtW6wSw6nIqQw9K_JhKH6GIK9AoqQ0f-n1cBFgfh8oyBN5n82-L91txYrqfy9kXHIcHlxSYMKng5LlHQvjhvN1KNFvcEmf73aN2VMg/s1600/grey.gif"
});
});
</script>
Kalo belum ada efek sama sekali , boleh deh kode di atas di paste sebelum kode </head>
Artikel yang berkaitan
Selasa, 02 Agustus 2011
//
Label:
Tips Blog
// //