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: "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC9jcLpcQF2oao10t6qCqs2ZjMXd5iCm7UUZi_cJ0NKjQA0XFJazxDryGuju3jmFe8ebBD2L6CZAkSoBq4Sv-7m4wIdm-bRfhacBfsm5jNLGG3aQbDylTprf_OgQbaLEFZ9QYL9BDmfSw/s1600/grey.gif"
});
});</script>

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



No comments: