Friday, December 16, 2011

Tutorial Latest Post Animation

بسم الله الرحمن الرحيم

Kali ni nak ajar camne nak buat animated utk 
recent post/latest post.
Cam kat sebelah ni---->
kan ade yang gerak2 sendiri wane cekelat tu...


JOM!!!



1.   Dashboard > Design > add a gadget > HTML/javascript

2.   Copy & Paste kod bawah ni kat dalam box html/javascript tu...


<style type="text/css">
#rp_plus_img{height:377px;}
#rp_plus_img li {height:60px;padding:5px;list-style:none;
background-color:#f9c962;
border:solid 3px #a36e04;}
#rp_plus_img a{color:#00000;}
#rp_plus_img .news-title{display:block;font-weight:bold ;margin-bottom:4px;font-size:11px;
text-align:align center;
-moz-border-radius: 5px;}
#rp_plus_img img{float:left;margin-right:14px;padding:4px;border:solid 1px #00000;width:55px;height:55px;}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/recentpost.js"></script>
<script type="text/javascript">
var speed = 1500;
var pause = 3500;
$(document).ready(function(){
rpnewsticker();
interval = setInterval(rpnewsticker, pause);
});
</script>
<ul id="rp_plus_img">
<script style="text/javascript">
var numposts = 5;
var numchars = 0;
</script>
<script src="/feeds/posts/default?orderby=published&alt=json-in-script&callback=rpthumbnt"></script>
</ul><small><a href="http://pencaripencintailahi.blogspot.com/2011/12/tutorial-latest-post-animation.html" target="_blank">get this widget here</a></small>

3.   Then, Save pastu tengok le hasilnya...

TAluvFA4eva

No comments:

Post a Comment