Cara Membuat Slider Facebook Like Box di Blogspot
1. Login ke area admin blogspot anda >> Pilih Menu Template >> Edit HTML
2. Pilih Tab "Edit Template". Cari dan temukan kode </head>. Tambahkan persis di atasnya kode berikut ini (Download kode di sini):
1
2
| <script src= "https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type= "text/j-avascript" > </script> |
3. Klik tombol "Save Template".
4. Setelah anda menambahkan Kode Plugin JQuery di atas. Selanjutnya, Menambahkan widget Facebook Slider. Pilih menu Layout >> Add gadget >> Pilih widget HTML/J-avascript. Tambahkan kode di bawah ini >> Save. (Download kode di sini):
1
2
3
4
5
6
7
8
9
10
11
12
| < script type = "text/j-avascript" > // <!-- $(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/AVvXsEiLheVgYqUY2G0XStsWZvhqV1vHNXomsfFrj-Ofw62aAIWy4pdivisVMPHa4x7-if4lhHBmP6DYuMbqgS6dAYxyOPW1RDe358P6LYcOa6SCHmbaIVxBqR1eFP9GyPJuguJyWNcMKfs89Bw/s1600/floatingfb.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:20%;} .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=http%3A%2F%2Fwww.facebook.com%2FKursusWebPro&width=251&height=270&colorscheme=light&show_faces=true&border_color=%23cccccc&stream=false&header=false&appId=159468740772399" scrolling = "no" frameborder = "0" style = "border:none; overflow:hidden; width:251px; height:270px; background:#fff;" allowtransparency = "true" ></ iframe >< span >< a href = "http://www.kursuswebpro.com" target = "_blank" >by KWPro</ a ></ span ></ div ></ div > |
- : diganti %3A
- / diganti %2F