13 November 2012

Lajukan loading blog

adam hakimi | 08:47 | |
ok, tanpa membuang masa. jom kita mulakan tutorial. korang pahamkan apa afrina nak buat tutorial untuk hari ni? ok, good. :)


1. Dashboard > Layout > Add a gadget > HTML/JavaScript.


<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: "http://3.bp.blogspot.com/_LZtXSNcp76A/THkEtEOZfrI/AAAAAAAABRo/IARVMD_8TwA/s1600/grey.gif"
});
});
</script>
Photobucket
Copyright © 2012 | Kisahafrina.blogspot.com | All Righted Reserve