Ok! ade lagi tutorial yang Che Deen nak kongsi..
tutorial nie berat blog jadi ringan, loading jadi laju..
haa~ macam mane? meh nak ajar~
berat lagi lagi? aku pun tak tau dah..
wallahualam~ hehe..
ok, credit to TASHA
ada masalah, sila komen ye..
tutorial nie berat blog jadi ringan, loading jadi laju..
haa~ macam mane? meh nak ajar~
Langkah satu:
- bukak Design --> Add a Gadget --> pilih HTML/JavaScript
Langkah dua:
- kemudian, copy dan paste code di bawah nie ke dalam gadget HTML/JavaScript tadi,
<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: "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLusp9v6OYCpC7DXM5W2k47qdppK4bXozmvntqg1s252DCRp85z7s5UQCNSyrSaUThLvR3T5ZljojGe6sEawZaGCK0X0gjOQDndvD0vUKSh2yqsVyA3tegWEVd66Pb8qoVrkLdr3IdAA8/s1600/grey.gif"
});
});</script>
Langkah tiga:
- dah puas hati baru save ye! setel~
berat lagi lagi? aku pun tak tau dah..
wallahualam~ hehe..
ok, credit to TASHA
ada masalah, sila komen ye..
0 comment(s):
Post a Comment