View Full Version : hỏi về "like facebook, google+1, twitter" trượt
nguyenkhacvu
07-03-2012, 10:14 PM
em muốn xin code làm giống như trang http://forum.szone.vn/
http://www.uphinhnhanh.com/images/791.jpg (http://www.uphinhnhanh.com/view-791.jpg)
khi rê chuột vào nó ra thế này
http://www.uphinhnhanh.com/images/732.jpg (http://www.uphinhnhanh.com/view-732.jpg)
mong itvnn giúp dùm em
website: http://www.quangcaomiennam.net
nguyenkhacvu
08-03-2012, 11:30 PM
sao ko ai giúp hết vậy ta ? ~X( đang cần gấp mờ hem ai giúp hết
daochichkid
11-03-2012, 05:34 PM
code của bạn đây,bên họ share rùi mà:
Bước 1: Chèn 2 đoạn css và js vào template headinclude
<link rel="stylesheet" href="likebox/css/style.css" type="text/css" />
<script type="text/javascript" src="likebox/js/like.js"></script>
Bước 2: Chèn đoạn code này vào dưới cùng của template header
<div id="likebox_1" /><div id="likebox_1_1" /><img src="likebox/images/fb1.png" alt="" />
<iframe allowtransparency="true" frameBorder="0" src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fp ages%2FSZone-Vi%C3%AA%CC%A3t-Nam-Fan-Page%2F123472234384027&width=200&height=356&colors cheme=light&show_faces=true&border_color&stream=fa lse&header=false&appId=124877987561510" scrolling="no"></iframe>
</div></div>
<div id="polecam_1" /><div id="polecam_1_1" /><img id="polecamy_img" src="likebox/images/twitter.png"/>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 1000,
width: 246,
height: 265,
theme: {
shell: {
background: '#63BEFD',
color: '#FFFFFF'
},
tweets: {
background: '#FFFFFF',
color: '#000000',
links: '#47a61e'
}
},
features: {
loop: false,live: true,
scrollbar: false,hashtags: false,timestamp: true,avatars: true,behavior: 'all' }
}).render().setUser('SZoneVN').start();
</script>
</div></div>
<div id="google_1" style="top: 52%;" /><div id="google_1_1" /><img id="google_img" src="likebox/images/google.png">
<script type="text/javascript" src="http://apis.google.com/js/plusone.js">{lang: 'en-US'}</script>
<div style="color:#999; padding-top: 15px; padding-left:40px; margin:5px; width:98px; height:97px;"><g:plusone size="tall" href="http://forum.szone.vn" count="1"></g:plusone></div></div></div>
James.MC
11-03-2012, 10:56 PM
code của bạn đây,bên họ share rùi mà:
Bước 1: Chèn 2 đoạn css và js vào template headinclude
<link rel="stylesheet" href="likebox/css/style.css" type="text/css" />
<script type="text/javascript" src="likebox/js/like.js"></script>
Bước 2: Chèn đoạn code này vào dưới cùng của template header
<div id="likebox_1" /><div id="likebox_1_1" /><img src="likebox/images/fb1.png" alt="" />
</div></div>
<div id="polecam_1" /><div id="polecam_1_1" /><img id="polecamy_img" src="likebox/images/twitter.png"/>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 1000,
width: 246,
height: 265,
theme: {
shell: {
background: '#63BEFD',
color: '#FFFFFF'
},
tweets: {
background: '#FFFFFF',
color: '#000000',
links: '#47a61e'
}
},
features: {
loop: false,live: true,
scrollbar: false,hashtags: false,timestamp: true,avatars: true,behavior: 'all' }
}).render().setUser('SZoneVN').start();
</script>
</div></div>
<div id="google_1" style="top: 52%;" /><div id="google_1_1" /><img id="google_img" src="likebox/images/google.png">
<script type="text/javascript" src="http://apis.google.com/js/plusone.js">{lang: 'en-US'}</script>
<div style="color:#999; padding-top: 15px; padding-left:40px; margin:5px; width:98px; height:97px;"><g:plusone size="tall" href="http://forum.szone.vn" count="1"></g:plusone></div></div></div>
Làm thế thì chả khác nào đi ngồi like + frame cho szone cả :|
<iframe allowtransparency="true" frameBorder="0" src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fp ages%2FSZone-Vi%C3%AA%CC%A3t-Nam-Fan-Page%2F123472234384027&width=200&height=356&colors cheme=light&show_faces=true&border_color&stream=fa lse&header=false&appId=124877987561510" scrolling="no"></iframe>
thay link trong inframe thành :
http://www.facebook.com/plugins/likebox.php?href=l (http://www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/pages/GTOPVN-GTOP-Lover/140650992672477)ink facebook page của site bạn
<g:plusone size="tall" href="http://forum.szone.vn" count="1"></g:plusone>
thay link forum.szone.vn thành link rum bạn
Thay SZoneVN thành user twitter
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 1000, width: 246, height: 265, theme: { shell: { background: '#63BEFD', color: '#FFFFFF' }, tweets: { background: '#FFFFFF', color: '#000000', links: '#47a61e' } }, features: { loop: false,live: true, scrollbar: false,hashtags: false,timestamp: true,avatars: true,behavior: 'all' } }).render().setUser('SZoneVN').start();
</script>
mod rip về mà hướng dẫn chả đủ gì cả :|
daochichkid
11-03-2012, 11:30 PM
mình chỉ leech lại thui,giữ nguyên bản quyền của trang http://forum.szone.vn/,còn việc sữa chữa lại thì do bạn nguyenkhacvu làm,bạn nguyenkhacvu chỉ xin code %*-{
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.