Jun 17, 2016

Tutorial: LAJUKAN BLOG LOADING

JM NAK LAJUKAN LOADING BLOG

KLIK PUNYA KLIK DI GOOGLE 

JM TEMUI HASIL PERKONGSIAN BLOG KAKI KERJA

JOM SAMA-SAMA KITA CUBA

langkah pertama

1. Pergi ke dashboard > Design > Edit html > Tick widget expand

2. Cari code dibawah ini

</head>
3. Bila dah jumpa, copy pula code ini

<script charset='utf-8' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/><script src='http://pwam.googlecode.com/files/jquery.lazyload.js' type='text/javascript'/><script charset='utf-8' type='text/javascript'>$(function(){$("img").lazyload({placeholder:"http://pwam.googlecode.com/files/grey.gif",threshold:200});</script>

4. Pastekan code tersebut di atas/sebelum  </head>

5. Preview dulu, xde error baru save.


langkah kedua

 1. Dashboard > Design > Add a gadget > Html javascript

2. Copy code dibawah ini.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"><br /><script type="'text/javascript'" src="'https://sites.google.com/site/jquery01/jquery.lazyload.mini.js?ver="></script><script type="text/javascript"><br />jQuery(document).ready(function($){<br />if (navigator.platform == "iPad") return;<br />jQuery("img").lazyload({<br />effect:"fadeIn",<br />placeholder: "http://3.bp.blogspot.com/_LZtXSNcp76A/THkEtE OZfrI/AAAAAAAABRo/IARVMD_8TwA/s1600/grey.gif"<br />});<br />});</script>

3. Pastekan dalam html javascript, letakkan bawah post korang.

4. Save.

0 comments:

Catat Ulasan

Segala komen adalah hak dan tanggungjawab anda sendiri!!!
All comments are your own right and responsibility.!!!