Contoh Script Pemasangan Fan Page tersembunyi disisi kanan dan kiri layar


Sebelum Meletakkan kode script Fan Page, Pastikan terlebih dahulu apakah kode dibawah ini sudah ada didalam kode template Sobat
 <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js' type='text/javascript'/>
Apabila belum ada ikuti cara pemasangan kode diatas seperti dibawah ini :
Pada Dashboard Pilih Template,
Pilih Edit HTML,
Centang : Expand Template Widget
Cari kode </head>
Copy kode script di atas tepat di atas kode </head> Atau bisa juga pastekan tepat dibawah kode ]]></b:skin>, selesai simpan template sobat
Berikut contoh-contoh kode script Fan page


Contoh Kode Fans Page disisi Kanan
<script type="text/javascript">
//<!--
$(document).ready(function() {$(".floatinglikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.floatinglikebox{
background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihpgOg8O-QMCU_I-cUGd7ro5ZgnK0Ybav6JdqxtPT6e-YcXhP7aus2WKrOqFwTh2b9xBioJHxoSfLTjv-yQSfElbdnlojS1iCrPAH0urwazuJYpQOrl2qyyqX8CqWThKCyS1aVhr0aAVc/s1600/guestbook4+copy+copy.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 40px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:40%;
}
.floatinglikebox div{
border:none;position:relative;display:block;
}
.floatinglikebox span{
bottom: 10px;font: 10px tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;
}
.floatinglikebox span a{
color: #808080;text-decoration:none;
}
.floatinglikebox span a:hover{
text-decoration:underline;
}
</style>
<div class="floatinglikebox" style="">
<div>
<iframe src="//www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/pages/Dido-Net/106766964583&amp;width=251&amp;height=270&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23cccccc&amp;stream=false&amp;header=false&amp;appId=159468740772399" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:251px; height:270px; background:#fff;" allowtransparency="true"></iframe><span><a href="https://www.facebook.com/Dido.Paray" target="_blank">.:Dido Creator:.</a>
</span></div></div>
Contoh Script Fans Page Disisi Kiri
<style type="text/css">
/*<![CDATA[*/
#fbplikebox {display: block; padding: 0; z-index: 99999; position: fixed;}
.fbplbadge {background-color:#; display: block; height: 215px; top: 50%; margin-top: -75px;position: absolute; right: -55px;width: 47px; background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiipLK6PQAOJDF2TAUsI7Ka_i5IfJXX-zjezgUjmHYoIHdEEzrChmHi3eXCDeSWyMcw8olaZWkEynvL8oELZugZbW44Xubi1ARO25vSv8vZHbujKMleof3EPVwfrTmfruNxX22u4Bb1G5Y/s1600/facebook+dido.png"); background-repeat: no-repeat; overflow: hidden; -webkit-border-top-right-radius: 8px; -webkit-border-bottom-right-radius: 8px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px;}
/*]]>*/
</style>
<script type="text/javascript">
/*<![CDATA[*/
(function(w2b){
w2b(document).ready(function(){
var $dur = "medium"; // Duration of Animation
w2b("#fbplikebox").css({left: -250, "top" : 100 })
w2b("#fbplikebox").hover(function () {
w2b(this).stop().animate({
left: 0
}, $dur);
}, function () {
w2b(this).stop().animate({
left: -250
}, $dur);
});
w2b("#fbplikebox").show();
});
})(jQuery);
/*]]>*/
</script>
<div id="fbplikebox" style="display:none;">
<div class="fbplbadge"></div>

<iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/pages/Dido-Net/106766964583&amp;width=245&amp;height=255&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23C4C4C4&amp;stream=false&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:245px; height:255px;background:#F5EBF5;" allowtransparency="true"></iframe></div>
Cara Memasukkan kode contoh script Diatas :
  • Masuk pada menu tata letak
  • Pilih tambahkan gadget 
  • Pilih HTML/javascript 
  • Pastekan contoh script fans page (tetapi jangan lupa mengganti alamat URL fans Page saya dengan URL sobat)
 Selamat Mencoba dan Maaf Kalau Amburadul Dalam Penjelasan Saya




Comments
0 Comments