SimBale |
Langkah - Langkah :
- Sobat terlebih dahulu login ke akun blogger sobat
- Kemudian masuk ke dasbor blogger sobat
- Pilih blog yang akan sobat pasang Auto Hide Komentar
- Lalu masuk ke Templates => Edit HTML
- Cari kode </head> (dengan CTRL + F agar lebih mudah mencarinya)
- Lalu paste kode dibawah ini diatas kode </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
var panelSelector = '#comments',
openPanelText = "<center><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhamq_0_XI_0uDyc5mwcrkXoi13IDlmp1qiMAWVi49R47wgI8C3Z6VaKGv9PsYtAGZlNd8BSRttOCyQJSNOtDD9NR8RFvZtsV-180oogRihDGd0yfJvnm-ZBP6TvXncwwp5NFDjFFFCqvB2/s1600/View+Comment.png'/></a></center>",
closePanelText = "<center><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh12VkoMrwxUfqPuuaDRRde-d7Q2wQSBM_tIMFrP5EqsC3jvzElUt-LCgnR6g-qGsm2wC2sPubuxqe9otmDNrj8leC5Y9kSWxNb6eGwRFPlM-FUzWtvnv-bO9quye59-yGFA_e3KmCl2oYX/s1600/Hide+Comment.png'/></a></center>",
slideDownPanelSpeed = 800,
slideUpPanelSpeed = 300;
//]]>
</script>
<script type='text/javascript'>
</script>
<script src='http://misbahudin-dcaesga.googlecode.com/files/show-hide.js' type='text/javascript'/>
- Setelah itu cari lagi kode ]]></b:skin>
- Kemudian paste kode dibawah ini tepat diatas kode ]]></b:skin>
a.openpanel {display:block;width:100%;height:40px;padding:0px 0px;text-align:center;font-weight:bold;line-height:30px;background:#ffffff; url()repeat-x;-webkit-transition: all .15s ease-in-out;-webkit-transform-origin: 50% 1px;position:relative;
}a.openpanel em {width:0px;height:0px;display:block;position:absolute;top:15px; right:15px;border:6px solid transparent;border-top-color:white;
}a.openpanel.active {background-color:#ffffff;}a.openpanel.active em {top:6px;border color:#222222;
}div.paneline {height:0px;-webkit-transition: all .15s ease-in-out;-webkit-transform-origin: 50% 1px;}div.hompiPanel {padding:10px 20px 20px;margin:0px 0px !important;}
- Lalu klik "Save Template"
- Selesai.
Semoga bermanfaat
Best Regards
Admin - Aditya
0 Response to "Cara Membuat Buka Tutup / Auto Hide Kotak Komentar di Blog"
Posting Komentar