4- اضف الكود التالي فوقه .
/* Notifikasi Komentar
----------------------------------------------- */
#cm-total {
position:fixed;
top:14px;
left:0;
width:188px;
text-align:right;
z-index:9999;
cursor:pointer;
}
.total-counter {
background-color:#d11919;
color:white;
padding:1px 4px;
font-family:Arial,Sans-serif;
font-size:11px;
border-radius:5px;
font-weight:bold;
}
#notif {
position:fixed;
top:20px;
left:180px;
z-index:9999;
height:22px;
width:19px;
opacity:.4;
cursor:pointer;
}
#notif:hover {
opacity:1;
}
.close-notif {
position:fixed;
top:92px;
left:20px;
z-index:9999;
cursor:pointer;
display:none;
}
#cm-container {
width:355px;
position:fixed;
top:67px;
left:0;
z-index:9999;
background-color:#e5e5e5;
padding:60px 20px 10px 20px;
color:#666;
box-shadow:0 4px 15px -4px rgba(0,0,0,.4) !important;
text-align:right;
border:1px solid rgba(0,0,0,.2);
background-clip:padding-box;
display:none;
}
#cm-container:before {
content:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMW-dIp6RgQLYV3UFIttSmh9eYWvfypFwqC0K8ov3QXbG7_ZbnyO9DhmuS65cnGHeBXDCDVQeE43f7_zRMfTUjpl1uUBReqvIqTAkoGH4D7uFROyymD5ppRK4VT3jk3ZImj9sIBR-6PH0/s1600/arrow-notif.png');
position:absolute;
top:-14px;
right:196px;
}
#cm-container:after {
content:"Komentar Terbaru";
position:absolute;
top:22px;
right:150px;
text-align:center;
font:normal 14px Arial;
color:#333;
}
.cm-outer {
margin:0 auto;
padding:0;
font-size:11px;
text-align:right;
font:normal 12px Arial;
}
.cm-outer ul{
margin-bottom:5px;
}
.cm-outer li {
padding:9px 10px 14px;
list-style:none;
clear:both;
position:relative;
border-radius: 3px;
box-shadow: 0 1px 2px rgba(0,0,0,.2);
background-color: white;
margin-bottom:10px;
}
.cm-text {color:#797979;}
.cm-outer {margin:0 0 5px}
.cm-header {margin:4px 90px 8px 0;font-size:11px;font-weight:normal !important;}
.cm-header a {color:#262626;text-decoration:none;font-size:14px;font-weight:bold}
.cm-header a:hover {color:#74a2c3;text-decoration:none;}
.cm-outer .cm-content {overflow:hidden}
.cm-content {margin-right:90px}
.cm-outer img {
display:block;
float:right;
background:#ececec url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMle1XDtnyI1YAPSkyAchdJA85suSwoF-m2cWIJW7AE396wkK7HmlopbAkgctHmiwbScVqV9f10s0Ry2hKtJFcQ8al-O-kRuw2aRNnTKUB2_hKzlk6BevGyz8RYbNBy4Flhlnh9GdSiE0/s1600/anon80.png') no-repeat 50% 50%;
overflow:hidden;
border-radius:3px 0 0 3px;
position:absolute;
top:0;
right:0;
}
.cm-footer {margin-top:7px;}
.cm-footer a {color:#5886a7;text-decoration:none;}
.cm-footer a:hover {color:#74a2c3;text-decoration:none;}
div.cm-header img[src='http://img1.blogblog.com/img/openid16-rounded.gif'] {
content: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKsQ9rLTrAEVEh3ccu3L1YerCsOgpTsO-k0akLyvOT5ZHANkAZ9z1pTlwq2ZrT9K_e89nHBxxrSh4IXKdKyWDgGZN-IyrEIPDpbEyZzZhF7embQQTtfALKxc88XwaVgmradnKbnZ_C_N4/s80-c/gravatar.png);
}
5- الآن ابحث عن الوسم : بواسطة المفاتيح Ctrl+F
6- اضف الكود التالي فوقه .
<div id='cm-container'/>
<div id='notif' title='Notifikasi'><img alt='notifikasi' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfbZwmpaykl9krdUMeYzxWXob3SQ7pgT9Pxyh2rdDT4aAVd9Qa3F9D3dIaeUM-MWn8HdShS7OpucwAcPF1dSwwVHOfhZ05Ju3k3Adb8fiCloy0UFVQMDb929fVTI8uGdNVY4wBQ_Tomik/s1600/lonceng.png'/></div>
<div id='cm-total'/>
<div class='close-notif'><img alt='close' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdyiAtUCqi_Y_YyeOgv7Q4SKTdh9vYv9HeatAPNVmyuwPWa8yNbSLrMhXHUWvbJT7pzlOB0NUIdWj_-R_l_4SvkzTBxk2vs6KW0wy8nNhThpriGL5Bq71q4eP3MIQcq13D0aDC5fwKpvc/s1600/delete4.png' title='close'/></div>
<script>
//<![CDATA[
var originalTitle = document.title;
var cm_config = {
home_page: "http://homeblog7.blogspot.com",
max_result: 6,
t_w: 80,
t_h: 80,
summary: 40,
new_tab_link: true,
ct_id: "cm-container",
new_cm: " Komentar Baru!",
interval: 30000,
alert: true,
alert: function(total) {
document.getElementById("cm-total").innerHTML = '<strong class=\'total-counter\'>'+total+'</strong>';
document.title = '(' + total + ') ' + originalTitle;
}
};
$('#notif').click(function(){$('#cm-container, .close-notif').toggle();});$('.close-notif').click(function(){$('#cm-container, .close-notif').hide();});document.getElementById('notif').onclick = function(){document.title = originalTitle;$('#cm-total').hide();};document.getElementById('show-total').onclick = function(){document.title = originalTitle;$('#cm-total').hide();$('#cm-container').show();};
//]]>
</script>
<script src='https://googledrive.com/host/0BxFbqjck0GDdcURNLVVsN1Z1TGM' type='text/javascript'/>
7- استبدل رابط مدونتنا برابط مدونتك : " http://homeblog7.blogspot.com" .
8- احفظ القالب .
ليست هناك تعليقات:
إرسال تعليق