Saya keliling kesana kemari, liat-liat blog tetangga, eh taunya nemu widget seperti ini. Widget ini bisa sobat liat di blog sumber saya menulis artikel ini yaitu Share With Irfan, Mau tau seperti apa cara membuat Widget Melayang/Floating Follower Google Friend Connect Twitter dan Facebook Like Box ( 3in1 Widget), langsung aja ya saya jelasin.
Cara Membuat Widget Melayang Google Friend Connect, Twitter dan Facebook Like Box :
1. Login ke dashboard blogger anda, pilih Rancangan > Elemen Laman > Add gadget (HTML/Javascript).
2. Copy script master widget dibawah ini dan paste pada gadget.
<style type="text/css">
.barrightblogger{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqV-jjVZb5FizkIMhWAFmdZOnXo_5XkXHSR1pS5aDco03nRRUG6xvHUVY22TboShIx31PzdxUeA06TfsNVt2emahCFoJxHW0cX2JEuFt5jpfe0y9RvwcqXx0Vu5ebTAC146dZmPkMC22X5/');background-repeat:no-repeat;width:39px;height:159px;position:fixed;right:0px;top:50px; z-index:1000;}
.barrightbloggerc{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHbbg38jsKuMJBpjmPmXi8mdkoxKTGPNtRZi3v0pYKHzfHZ94tJitdvGPGzOdcKQ_f2SXhCu7aWG7gDMGMUPMjb2HfK-2gQ0FfokhBN4R2X5oj3Eo5Wo1U9XOB9Uyyma0kBjPauDHE1CFu/');background-repeat:no-repeat;width:288px;height:345px;position:fixed;right:0px;top:50px; z-index:1100;}
.barconteblogger{margin:5px 0 0 47px}
.barrighttwitter{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpsHZawEMmL8bAJE8iyKzpPUfJ6X_KbG6ylbGZ56pOgukoC6X0o1ZdFvGd7AuZBwG7gJfrWE8FS-FaysTE3V5Lp6-EH5TRS2DY09NFQ6o3pOtuaCkdCGrD34MS0I2gHE2dtkaGvh16os5b/');background-repeat:no-repeat;width:39px;height:159px;position:fixed;right:0px;top:210px;z-index:1000;}
.barrighttwitterc{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgor1ihj8ta_8u-YQ_zyRguLolX5RpFS4XmdYh8uzBjf6vypJRgj74fJKMnHNjkLCKcBjhCNYu77GhJRamAAbiLRmFGVZ0uwP1FRg8lKK_qKJqxPacMo6sfeI-JttDlK-Wac16SElCrUQ11/');background-repeat:no-repeat;width:288px;height:345px;position:fixed;right:0px;top:120px; z-index:1100;}
.barcontetwitter{margin:5px 0 0 47px}
.barrightfacebook{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHeS25Sa3xBYJIBttdyD4CQCRA6bUx6LThSlFbXoZIs0TBmDowX0Hga2otYB8QAnvMsYYI_h8DI6if_JYtj1mYdOzh4WlCJqt5ZgdstXFHSXoZ5XWKtm12UoFR5lJLEUGtVIhWDCkPyEP/');background-repeat:no-repeat;width:39px;height:159px;position:fixed;right:0px;top:370px; z-index:1000;}
.barrightfacebookc{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2dc0AM-EF3NglRVpJwQSdyBSkdCII5-1KzTXkhGmSmefiMHckewjWjBQnC91tDkgnOpktQHBPQoTKJYl1yxjvH8cmC6QSTDSJh5-iycMOvaKX65_n7jw2iFdavXGTh8U3a5bujLAnzViM/');background-repeat:no-repeat;width:288px;height:345px;position:fixed;right:0px;top:185px; z-index:1100;}
.barcontefacebook{margin:5px 0 0 47px}
</style>
<div class="barrightblogger" onmouseover="this.className='barrightbloggerc'" onmouseout="this.className='barrightblogger'">
<div class="barconteblogger">
CONTENT BLOGGER HERE
</div>
</div>
<div class="barrighttwitter" onmouseover="this.className='barrighttwitterc'" onmouseout="this.className='barrighttwitter'">
<div class="barcontetwitter">
CONTENT TWITTER HERE
</div>
</div>
<div class="barrightfacebook" onmouseover="this.className='barrightfacebookc'" onmouseout="this.className='barrightfacebook'">
<div class="barcontefacebook">
CONTENT FACEBOOK HERE
</div>
</div>
3. Kustomisasi widget :
- Ganti tulisan CONTENT BLOGGER HERE dengan kode HTML Google Friend Connect anda.
- Ganti tulisan CONTENT TWITTER HERE dengan kode HTML widget status Twitter anda.
- Ganti tulisan CONTENT FACEBOOK HERE dengan kode HTML Facebook Like Box anda.
<style type="text/css">
.barrightblogger{
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqV-jjVZb5FizkIMhWAFmdZOnXo_5XkXHSR1pS5aDco03nRRUG6xvHUVY22TboShIx31PzdxUeA06TfsNVt2emahCFoJxHW0cX2JEuFt5jpfe0y9RvwcqXx0Vu5ebTAC146dZmPkMC22X5/');background-repeat:no-repeat;width:39px;height:159px;position:fixed;right:0px;top:50px; z-index:1000;}
.barrightbloggerc{
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHbbg38jsKuMJBpjmPmXi8mdkoxKTGPNtRZi3v0pYKHzfHZ94tJitdvGPGzOdcKQ_f2SXhCu7aWG7gDMGMUPMjb2HfK-2gQ0FfokhBN4R2X5oj3Eo5Wo1U9XOB9Uyyma0kBjPauDHE1CFu/');background-repeat:no-repeat;width:288px;height:345px;position:fixed;right:0px;top:50px; z-index:1100;}
.barconteblogger{margin:5px 0 0 47px}
.barrighttwitter{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpsHZawEMmL8bAJE8iyKzpPUfJ6X_KbG6ylbGZ56pOgukoC6X0o1ZdFvGd7AuZBwG7gJfrWE8FS-FaysTE3V5Lp6-EH5TRS2DY09NFQ6o3pOtuaCkdCGrD34MS0I2gHE2dtkaGvh16os5b/');background-repeat:no-repeat;width:39px;height:159px;position:fixed;right:0px;top:210px;z-index:1000;}
.barrighttwitterc{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgor1ihj8ta_8u-YQ_zyRguLolX5RpFS4XmdYh8uzBjf6vypJRgj74fJKMnHNjkLCKcBjhCNYu77GhJRamAAbiLRmFGVZ0uwP1FRg8lKK_qKJqxPacMo6sfeI-JttDlK-Wac16SElCrUQ11/');background-repeat:no-repeat;width:288px;height:345px;position:fixed;right:0px;top:120px; z-index:1100;}
.barcontetwitter{margin:5px 0 0 47px}
.barrightfacebook{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHeS25Sa3xBYJIBttdyD4CQCRA6bUx6LThSlFbXoZIs0TBmDowX0Hga2otYB8QAnvMsYYI_h8DI6if_JYtj1mYdOzh4WlCJqt5ZgdstXFHSXoZ5XWKtm12UoFR5lJLEUGtVIhWDCkPyEP/');background-repeat:no-repeat;width:39px;height:159px;position:fixed;right:0px;top:370px; z-index:1000;}
.barrightfacebookc{background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2dc0AM-EF3NglRVpJwQSdyBSkdCII5-1KzTXkhGmSmefiMHckewjWjBQnC91tDkgnOpktQHBPQoTKJYl1yxjvH8cmC6QSTDSJh5-iycMOvaKX65_n7jw2iFdavXGTh8U3a5bujLAnzViM/');background-
repeat:no-repeat;width:288px;height:345px;position:fixed;right:0px;top:185px; z-index:1100;}
.barcontefacebook{margin:5px 0 0 47px}
</style>
<div class="barrightblogger" onmouseover="this.className='barrightbloggerc'" onmouseout="this.className='barrightblogger'">
<div class="barconteblogger">
<!-- Include the Google Friend Connect javascript library. -->
<script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
<!-- Define the div tag where the gadget will be inserted. -->
<div id="div-7677947442099018359" style="width:276px;border:1px solid #cccccc;"></div>
<!-- Render the gadget into a div. -->
<script type="text/javascript">
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#ff9900';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['NUMBER_ROWS'] = '4';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderMembersGadget(
{ id: 'div-7677947442099018359',
site: '07815851466027574114' },
skin);
</script>
</div>
</div>
<div class="barrighttwitter" onmouseover="this.className='barrighttwitterc'" onmouseout="this.className='barrighttwitter'">
<div class="barcontetwitter">
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 2,
interval: 30000,
width: 220,
height: 220,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#333333',
color: '#f3f5f0',
links: '#eb9f07'
}
},
features: {
scrollbar: true,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('@username_twitter').start();
</script>
</div>
</div>
<div class="barrightfacebook" onmouseover="this.className='barrightfacebookc'" onmouseout="this.className='barrightfacebook'">
<div class="barcontefacebook">
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FBlueSoft77%2F138491896263138&width=292&height=290&colorscheme=light&show_faces=true&border_color&stream=false&header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:295px; height:290px;" allowtransparency="true"></iframe>
</div>
</div>
6. Jika sudah selesai melakukan kustomisasi, Save / Simpan gadget dan lihat hasilnya.
Buat yang masih kesulitan untuk mengetahui kode ID Google Friend Connect (GFC) berikut ini tutorialnya :
1. Login ke Google Friend Connect menggunakan akun blogger/gmail anda.
2. Klik nama blog anda pada sidebar kiri dan pilih Add the member gadget.
3. Anda akan dibawa ke halaman kustomisasi gadget seperti gambar dibawah ini. Lakukan kustomisasi lebar gadget, jumlah baris follower yang ingin ditampilkan, warna background, border, huruf dan lain-lain dihalaman ini.
4. Jika kustomisasi sudah selesai, klik tulisan Generate code pada langkah ke-3Create the HTML code, maka kode HTML gadget follower / Google Friend Connect milik anda sudah selesai dan siap dicopy atau disimpan di notepad.
1. Login ke Google Friend Connect menggunakan akun blogger/gmail anda.
2. Klik nama blog anda pada sidebar kiri dan pilih Add the member gadget.
ini. Selamat menyongsong Tahun Baru 2012 sahabat..!
Sumber : http://rayhanzhampiet.blogspot.com/
6 komentar:
tarikkkkkk,...makinlama blognya makin bagus gan
nggak hanya tampilannya tetapi juga isisnya, sekarang nggak cuma softwere2 tetapi trik2 juga masuk
nice gan..lanjutkan
hehehehe
haha...
apa aja saya masukin gan klo itu ada manfaat buat yg lain...
makasii pujiannnya gan , makin semngat ane, ahaha
Waoww boleh juga nih trikx entar aku Coba
ahaha...
monggo silahkan dicicipi..
Blog kamu keren banget.....
mantep kang sidget nya saya langsung coba dan berhasil
boleh di lihat di www.dixynet.co.cc
Posting Komentar