Di domain baru ini hehe.... :D saya akan share
cara membuat widget Google plus melayang. Mau tau penampakannya? Berikut penampakan
widget google plus melayang :
|
Gambar diatas saya ambil di blog saya lainnya
|
Keren gak? Kalau keren kalian tentunya mau kan? ok saya akan share
cara membuat widget berikut. Berikut
cara membuat widget google plus melayang :
- Pertama buka dashboard > Pilih Tata Letak > Pilih tambah widget > Pilih HTML/javascript.
- Lalu masukkan script dibawah ini :
<style type="text/css" scoped>
/* Message Box */
#box-message {
position:fixed !important;
position:absolute;
top:-1000px;
left:50%;
margin:0px 0px 0px -182px;
width:300px;
height:auto;
padding:16px;
background:#fff;
font:normal Dosis, Georgia, Serif;
color:blue;
border:2px solid blue;
-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
#box-message a.close {
position:absolute;
top:-10px;
right:-10px;
background:#fff;
font:bold 16px Arial, Sans-Serif;
text-decoration:none;
line-height:22px;
width:22px;
text-align:center;
color:#111;
border:2px solid #333;
-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-webkit-border-radius:22px;
-moz-border-radius:22px;
border-radius:22px;
cursor:pointer;
}
#twitterx {
background: #EEF9FD;
padding: 10px;
text-align:center;
border: 1px solid #C7DBE2;
border-top: 0;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type='text/javascript'>
$(window).bind("load", function() {
// Animate Top Value When Page Loaded Completed
$('#box-message').animate({top:"200px"}, 1000);
// Remove Mailbox When Close Button On Click
$('a.close').click(function() {
$(this).parent().fadeOut();
return false;
});
});
</script>
<div id='box-message'>
<!-- HTML Start -->
<div style="text-align: center;">
<p style=" margin:10px; font-size:15px; color:#000; font-weight:bold;">Help me vote +1 on google plus button</p>
<div style='background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs2vZzAUBHK8Em_Q0J3dop7JjID9UgdUsEQsocDKVhmJghmmBi0eB2gnRsUfu7nE-Z4JFesOzl7LcOCrIPm4aOAtTf_KRujioy40JxPBm0UBXjxGCRn8a8TXRC0xXq7FQeDPYWMCOEgAR0/s300/Widget+Melayang+Google+Plus.png)no-repeat top left; width:283px; height:125px; padding-top:27px; text-align:left; padding-left:60px; margin-top:20px'>
<div class='g-plusone' data-annotation='inline' data-width='300'></div>
<script type='text/javascript'>
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>
<!-- HTML End -->
</div>
<small><div style=”font-size:80%; text-align:right; text-shadow:2px 2px 2px #adadad;”><a href="http://seo-powers.blogspot.com/2014/03/cara-membuat-widget-g-melayang-di-blog.html" target="_blank" title=”widget follow us”>+ Get Widget </a></div></small><a class='close' href='#'>×</a></div>
Sekian....... Jika artikel diatas bermanfaat silahkan share dan like fb
Terima kasih......
Title : Cara Membuat Widget Google Plus Melayang
Description : Di domain baru ini hehe.... :D saya akan share cara membuat widget Google plus melayang . Mau tau penampakannya? Berikut penampakan widg...