Tutorial menyembunyikan kotak komentar agar blog terlihat lebih rapi:
- masuk ke pengedit html template
- cari kode "]]></b:skin>"
- letakkan kode berikut di atasnya
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 5px;
-webkit-box-shadow:0px 1px 7px #FF0000 ;
-moz-box-shadow:0px 1px 7px #FF0000 ;
box-shadow: 0px 1px 7px #FF0000;}
div.paneline {height:0px;-webkit-transition: all .15s ease-in-out;-webkit-transform-origin: 50% 1px;}
div.hompiPanel {border:1px inset #FF0000;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 5px;
-webkit-box-shadow:0px 1px 7px #FF0000 ;
-moz-box-shadow:0px 1px 7px #FF0000 ;
box-shadow: 0px 1px 7px #FF0000;padding:10px;margin:0px 0px !important;}
- copy kode di bawah ini,dan letakkan di atas kode "</head>"
<script type='text/javascript'>
//<![CDATA[
var panelSelector = '#comments',
openPanelText = "KOMENTAR",
closePanelText = "TUTUP",
slideDownPanelSpeed = 300,
slideUpPanelSpeed = 300;
//]]>
</script>
<script type='text/javascript'>
</script><script src='http://dienuhui.googlecode.com/files/slidekomentar.js' type='text/javascript'/>
- simpan template
- SELESAI
testing....biar setetes tapi penting..
BalasHapus