Tutorial : Cepatkan Loading Blog

Assalammualaikum and Annyeonghaseyo

Untitled | via Tumblr

Blog korang berat? Sempat pergi makan , tidur nak tunggu blog korang? Meh, Syara ajar nak cepatkan blog korang. Tutor ni mencepatkan loading bukan meringankan blog tau. 

1. Dashboard --> Layout --> Add Gadget /HTML

2. Copy Paste code dibawah.

<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>

3. Letakkan code2 di bawah blog post . Refer gambar kalau tak tahu.



No comments: