Wednesday, 11 April 2012
Cara Membuat Kotak Pemberitahuan Blog
Langsung saja ke langkah-langkahnya.
Langkah 1
Sign In Ke Akun Blog anda
Langkah 2
Masuk ke Rancangan
Langkah 3
Edit HTML
Langkah 4
Copy Kode dibawah ini. dan pastekan diatas kode </body>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<style type='text/css'>
.notification{height:70px;width:480px;display:block;position:fixed;bottom:10px;left:10px;/*Border Radius*/border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;/*Box Shadow*/-moz-box-shadow:2px 2px 2px #cfcfcf;-webkit-box-shadow:2px 2px 4px #cfcfcf;box-shadow:2px 2px 2px #cfcfcf}
.notification span{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBRG0R4KXxWAUnvA_02WwNqBEj-_HxZKAuLs_q8R9l2zcdHNtL7U91pG2UGNppl9lmY6kJrV9mI_zhXR5k1IN96uKnvV3BHseaje_yB9O32DpZNwS3xQsKdoXev6ZJEVcEKftCQ_3DCOA/) no-repeat right top;cursor:pointer;display:block;width:19px;height:19px;position:absolute;top:-9px;right:-8px}
.notification p{width:400px;font-family:Arial,Helvetica,sans-serif;color:#323232;font-size:14px;line-height:21px;text-align:left;float:right;margin:10px 15px 0 0;*margin-top:15px;/*for lt IE8*/padding:0;/* TEXT SHADOW */ text-shadow:0 0 1px #f9f9f9}
.warning{border-top:1px solid #fefbcd;border-bottom:1px solid #e6e837;/*Background Gradients*/background:#feffb1;background:-moz-linear-gradient(top,#feffb1,#f0f17f);background:-webkit-gradient(linear,left top,left bottom,from(#feffb1),to(#f0f17f))}
.warning:before{content:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhln805zeiBx_NWNwWEatlcCfuZxwksHNGOjvubmYG_Om9eQdA5KQeG3d3OjuDDA_MDN7F0VdvVnTM5HcdUcv-f_7lgughdIkiiqjzOaBZ8dj1fK6Rpd0_yywmNpKkOxQ-iBzfl25GXbPc/);float:left;margin:15px 15px 0 25px}
.warning strong{color:#e5ac00;margin-right:15px}
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(document).ready(function(){$('.notification').hover(function(){$(this).css('cursor','auto');});$('.notification span').click(function(){$(this).parent().fadeOut(800);});});</script>
<div class='notification warning'><span/>
<p><strong>Warning!</strong>Selamat datang di blog DeeJayHan, Tutorial blog Up To Date</p></div></b:if>
Langkah 5
Ganti tulisan yang dicetak TEBAL dengan sesuka anda.
Langkah 6
Simpan Template dan lihat hasilnya
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment