03 December 2011

Slide Recent Post








بِسْــــــــــــــــــمِ-اﷲِالرَّحْمَنِ-اارَّحِيم

السلام عليكم ورحمة الله وبركاته



Recent post bermaksud post terbaru . Kali ni saya nak ajar macam mana nak buat recent post yang menarik dan kelihatan kemas . Ia dinamakan SLIDE RECENT POST . Tak faham , okay tengoklah contoh di bawah (:
Sumber gambar : http://tutorialuntukblog.blogspot.com

Okay dah tahukan rupa Slide Recent Post ni ?
Nak tahu tak cara nak buat ? Okay jom !!

Tutorial :

1. Dashboard - Design - Add a gadget - Edit Html / javascript

2. Copy dan paste code ini :


<style type="text/css"></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"><br />var speed = 1500;<br />var pause = 3500;<br />$(document).ready(function(){<br />rpnewsticker();<br />interval = setInterval(rpnewsticker, pause);<br />});<br /></script>
<ul id="rp_plus_img">
<script style="text/javascript"><br />var numposts = 5;<br />var numchars = 0;<br /></script>
<script src="/feeds/posts/default?orderby=published&amp;alt=json-in-script&amp;callback=rpthumbnt"></script>
</ul><small><a href="http://tutorialuntukblog.blogspot.com/2011/07/animated-recent-post-ver2.html" target="_blank"></a></small>


3. Save dan lihat hasilnya .


SELAMAT MENCUBA DAN BITTAUFIQ WANNAJAH !! (:

No comments: