Ringankan Blog (Lazy Load Jquery vers.)
korang tau x ape kegunaan lazy load Jquery ni ? kpd sesiape yg tahu .. bagos laa .. kpd sesiape yg x tau , meh sini meerza bagi tau .. lazy load jquery ni dpt meringankan blog kite tau .. klau blog kite dah berat mesti memakan mase yg lame untuk loading , kan ? .. kesian org menunggu lame2 .. so , kpd sesiape yg nk mempercepatkan loading blog dye .. bolehlaa gune lazy load jquery nie .. :D
ok first pegy ..
Dashboard >> Design >> Add Gadget >> HTML / Javascript
then copy code ni n paste .. pastu save ..
<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: "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsAYlRLW5wxIDcf2TUBhknJ5YGUbbQDS9a3iBK5obXwtCbHZbA7_upWvzZ4HjFkKINoj7qUpg1P1zqnfnFLRXDC2veNef5lQyOv_GKOjcbCFG9JizfRO31gS_3FeF25IM7ZBtFbPDXBwA/s1600/grey.gif"});});</script>
siap sudaa .. selamat mencuba yee korang .. :)
« Older posts | Newer posts»