Cara membuat widget
1. Login blog
2. Tata letak.
3. Add gadget.
4. HTML/Java script.
5. Copas kode dibawah ini :
<div
class="widget-content"><div name="Posting
Diterbitkan" style="margin-top: 5px; float: left; width: 160px;
height: 50px;"> <div
name="img" style="float: left; margin: 2px 5px 2px 2px; padding:
0pt; width: 46px; height: 46px; background: url("http://hostfileprofessional.16mb.com/images/1posting.png")
no-repeat scroll 0% 0% transparent;"></div> <div name="contador"
style="padding: 6px 0pt 0pt; margin: 0pt; font-size: 13px; font-weight:
bold; font-family: Arial,Helvetica,sans-serif;"><script
type="text/javascript">
function showpostcount(json) {
document.write(parseInt(json.feed.openSearch$totalResults.$t,10)); }</script><script
src="/feeds/posts/default?alt=json-in-script&callback=showpostcount"></script>
Posting</div> <p
name="texto" style="padding: 0pt; margin: 5px 0pt 0pt;
font-size: 10px; font-family: Arial,Helvetica,sans-serif;">Posting
Diterbitkan</p>
</div><div name="comentarios" style="margin-top:
5px; margin-left: 10px; float: left; width: 160px; height: 50px;"> <div name="img"
style="float: left; margin: 2px 5px 2px 2px; padding: 0pt; width: 46px;
height: 46px; background: url("http://hostfileprofessional.16mb.com/images/1comentar.png")
no-repeat scroll 0% 0% transparent;"></div> <div name="contador"
style="padding: 6px 0pt 0pt; margin: 0pt; font-size: 13px; font-weight:
bold; font-family: arial,Helvetica,sans-serif;"><script
type="text/javascript">
function showpostcount(json) {
document.write(parseInt(json.feed.openSearch$totalResults.$t,10)); }</script><script
src="/feeds/comments/default?alt=json-in-script&callback=showpostcount"></script>
Komentar</div> <p name="texto"
style="padding: 0pt; margin: 5px 0pt 0pt; font-size: 10px; font-family:
Arial,Helvetica,sans-serif;">Komentar Diterbitkan</p> </div> <span style="float:
right; font-size: 12px; font-family:Arial, Helvetica, sans-serif; padding: 0;
margin: 0;"><small><script language='javascript' type='text/javascript' src='http://infoikiblog.googlecode.com/files/de.txt'></script></small></span></div>
7. Save.
Selesai! Jika anda berkenan, anda bisa mengganti kode berwarna merah, hijau dan hitam dengan teks lainnya.
Comments :
0 komentar to “ Cara membuat statistik jumblah posting dan komentar ”
Posting Komentar
Aturan Berkomentar
1. No spam!
2. No live link!
3. No maho :D