Assalamu'alaikum gan. hehhehe
Bagi agan semuanya yang ingin mempercantik tampilan blog agan dengan menambah daftar isi, agan bisa menggunakan widget yang satu ini. Tampilannya bisa agan lihat sendiri pada screen shoot diatas.
Oke langsung aja yaa...
- Masuk ke dashboard blog agan
- Lalu klik pada Tata Letak
- Kemudian pilih Tambah Gadget
- Pilih HTML/JavaScript kliklah pada tanda plusnya
- Masukkan judul yang agan inginkan pada kolom judul, misalnya saja "Daftar Isi"
- Copy-paste kan kode dibawah ini pada kolom yang tersedia (bukan kolom judul)
<style type='text/css'>
#dafis-acc{ font-family:"Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#333; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4MME2R3ofUNcha-dbRn1-0I2pXcPTpHhnzSkatDIzQbKBUVcP7TO3wuAnWvWMqh3pwAXxLf94L1PKtA5Jhxg3K_NV91nPNRW2yvE-vUS7UAnmUbIsajaR-OxjxfQf_CYvGPhN_tHt3rs/d/bg5.gif) repeat-y scroll left center #E7F7FB; padding:2px 0; border:1px solid #339DC6; } .dafis-label{ background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPCuRovWX__LhIYYKs_8mRlvG2cDPRA2ch0ZjKHZ2TNIOCcMdVHwMcEENd14TO-zIP0hEn8xCL0taVJD8urmV4TvODQhwEX-3SvfvEjnJ4JQPWy_BQLllKb-4_ijFBvfCQROEL-mEB0iw/d/bg4.gif) repeat-x scroll 0 0 #E1F4FB; font-weight:bold; line-height:1.4em; overflow:hidden; white-space:nowrap; vertical-align: baseline; margin: 1px 3px; outline: none; cursor: pointer; text-decoration: none; padding: 2px 10px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.3); border:1px solid #2F94BA; } .dafis-label:hover{ background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwPImP_uxdnYesb8saxI0ml5kyKuX3loR7DwNBRtPXoJhJ8qsZiFPq98y_6ihBPEZVqEMpBnnlJhcV6339yosv0GCJ3kxGV0BglicIOd_jnCp3v94Tm6TDMCwTSeqxPhTYgp-LvAXJFho/d/bg2.gif) repeat-x scroll 0 0 #E1F4FB; color:#003366; } .dafis-daf ol{ margin:0 0 0 30px !important; padding:0 !important; } .dafis-daf ol li{ background-color:#C9E9F4; line-height:1.5em; margin:1px 3px !important; white-space:nowrap; text-align:left; border:1px solid #339DC6; } .dafis-daf ol li a{ text-decoration: none !important; color:#333 !important; display:block; padding-left:10px; } .dafis-daf ol li a:hover{ background: #7BC4DF; border-left: 5px #333 solid; padding-left: 5px; text-shadow: 0 1px 1px rgba(0,0,0,.3); }
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script>
<script type="text/javascript" src="http://infonetmu.googlecode.com/files/Acc1.js"></script>
<script src="http://phellopratama.blogspot.com/feeds/posts/summary?max-results=1000&alt=json-in-script&callback=loadtoc"></script>
#dafis-acc{ font-family:"Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size:12px; color:#333; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4MME2R3ofUNcha-dbRn1-0I2pXcPTpHhnzSkatDIzQbKBUVcP7TO3wuAnWvWMqh3pwAXxLf94L1PKtA5Jhxg3K_NV91nPNRW2yvE-vUS7UAnmUbIsajaR-OxjxfQf_CYvGPhN_tHt3rs/d/bg5.gif) repeat-y scroll left center #E7F7FB; padding:2px 0; border:1px solid #339DC6; } .dafis-label{ background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPCuRovWX__LhIYYKs_8mRlvG2cDPRA2ch0ZjKHZ2TNIOCcMdVHwMcEENd14TO-zIP0hEn8xCL0taVJD8urmV4TvODQhwEX-3SvfvEjnJ4JQPWy_BQLllKb-4_ijFBvfCQROEL-mEB0iw/d/bg4.gif) repeat-x scroll 0 0 #E1F4FB; font-weight:bold; line-height:1.4em; overflow:hidden; white-space:nowrap; vertical-align: baseline; margin: 1px 3px; outline: none; cursor: pointer; text-decoration: none; padding: 2px 10px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.3); border:1px solid #2F94BA; } .dafis-label:hover{ background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwPImP_uxdnYesb8saxI0ml5kyKuX3loR7DwNBRtPXoJhJ8qsZiFPq98y_6ihBPEZVqEMpBnnlJhcV6339yosv0GCJ3kxGV0BglicIOd_jnCp3v94Tm6TDMCwTSeqxPhTYgp-LvAXJFho/d/bg2.gif) repeat-x scroll 0 0 #E1F4FB; color:#003366; } .dafis-daf ol{ margin:0 0 0 30px !important; padding:0 !important; } .dafis-daf ol li{ background-color:#C9E9F4; line-height:1.5em; margin:1px 3px !important; white-space:nowrap; text-align:left; border:1px solid #339DC6; } .dafis-daf ol li a{ text-decoration: none !important; color:#333 !important; display:block; padding-left:10px; } .dafis-daf ol li a:hover{ background: #7BC4DF; border-left: 5px #333 solid; padding-left: 5px; text-shadow: 0 1px 1px rgba(0,0,0,.3); }
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'></script>
<script type="text/javascript" src="http://infonetmu.googlecode.com/files/Acc1.js"></script>
<script src="http://phellopratama.blogspot.com/feeds/posts/summary?max-results=1000&alt=json-in-script&callback=loadtoc"></script>
*Ganti teks berwarna merah diatas dengan alamat URL blog agan
Selesai deeh, selamat mencoba
Posting Komentar