分享到 豆瓣 QQ书签 开心网 人人网 google buzz twitter facebook等 代码
2011-12-09 10:36
666 查看
帮朋友加 分享到facebook twitter 代码 整理下,分享给大家
推荐到豆瓣
<a rel="nofollow" class="fav_douban" href="javascript:void(function() {var%20d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://www.douban.com /recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'& sel='+e(s)+'&v=1',x=function() {if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'& amp;r=1'};if(/Firefox/.test(navigator.userAgent)) {setTimeout(x,0)}else{x()}})()">豆瓣</a>
或者用这个
<a rel="nofollow" class="fav_douban" href="javascript:window.open('http://www.douban.com/recommend /?url='+encodeURIComponent(document.location.href)+'& title='+encodeURIComponent(document.title));void(0)">豆瓣</a>
收藏到QQ书签
<a rel="nofollow" class="fav_qq" href="javascript:window.open('http://shuqian.qq.com/post?from=3& title='+encodeURIComponent(document.title)+'& uri='+encodeURIComponent(document.location.href)+'&jumpback=2& noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes'); void(0)">QQ书签</a>
转贴到开心网
<a rel="nofollow" class="fav_kaixin" href="javascript:window.open('http://www.kaixin001.com/repaste /share.php?rtitle='+encodeURIComponent(document.title)+'& rurl='+encodeURIComponent(document.location.href)+'&rcontent='); void(0)">开心网</a>
分享到人人
<a rel="nofollow" class="fav_renren" href="javascript:window.open('http://share.renren.com/share /buttonshare.do?link='+encodeURIComponent(document.location.href)+'& title='+encodeURIComponent(document.title));void(0)">人人网</a>
添加到百度搜藏
<a rel="nofollow" class="fav_baidu" href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0">百度搜藏</a>
GOOGLE书签
<a rel="nofollow" class="fav_google" href="javascript:window.open('http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title));void(0)">Google</a>GOOGLE Buzz
<a rel="nofollow" class="fav_buzz" href="javascript:window.open('http://www.google.com/reader/link?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'&srcURL=http://www.koryi.net');void(0)">Google Buzz</a>[b]
分享到 Twitter
[/b]<a rel="nofollow" class="fav_twitter" href="javascript:window.open('http://twitter.com/home?status='+encodeURIComponent(document.location.href)+' '+encodeURIComponent(document.title));void(0)">Twitter</a>[b]
分享到 Facebook
[/b]<a rel="nofollow" class="fav_facebook" href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(document.location.href)+'&t='+encodeURIComponent(document.title));void(0)">Facebook</a>[b]
Delicious书签
[/b]<a rel="nofollow" class="fav_delicious" href="javascript:window.open('http://del.icio.us/post?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'¬es=');void(0)">Delicious</a>
推荐到豆瓣
<a rel="nofollow" class="fav_douban" href="javascript:void(function() {var%20d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://www.douban.com /recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'& sel='+e(s)+'&v=1',x=function() {if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'& amp;r=1'};if(/Firefox/.test(navigator.userAgent)) {setTimeout(x,0)}else{x()}})()">豆瓣</a>
或者用这个
<a rel="nofollow" class="fav_douban" href="javascript:window.open('http://www.douban.com/recommend /?url='+encodeURIComponent(document.location.href)+'& title='+encodeURIComponent(document.title));void(0)">豆瓣</a>
收藏到QQ书签
<a rel="nofollow" class="fav_qq" href="javascript:window.open('http://shuqian.qq.com/post?from=3& title='+encodeURIComponent(document.title)+'& uri='+encodeURIComponent(document.location.href)+'&jumpback=2& noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes'); void(0)">QQ书签</a>
转贴到开心网
<a rel="nofollow" class="fav_kaixin" href="javascript:window.open('http://www.kaixin001.com/repaste /share.php?rtitle='+encodeURIComponent(document.title)+'& rurl='+encodeURIComponent(document.location.href)+'&rcontent='); void(0)">开心网</a>
分享到人人
<a rel="nofollow" class="fav_renren" href="javascript:window.open('http://share.renren.com/share /buttonshare.do?link='+encodeURIComponent(document.location.href)+'& title='+encodeURIComponent(document.title));void(0)">人人网</a>
添加到百度搜藏
<a rel="nofollow" class="fav_baidu" href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0">百度搜藏</a>
GOOGLE书签
<a rel="nofollow" class="fav_google" href="javascript:window.open('http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title));void(0)">Google</a>GOOGLE Buzz
<a rel="nofollow" class="fav_buzz" href="javascript:window.open('http://www.google.com/reader/link?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'&srcURL=http://www.koryi.net');void(0)">Google Buzz</a>[b]
分享到 Twitter
[/b]<a rel="nofollow" class="fav_twitter" href="javascript:window.open('http://twitter.com/home?status='+encodeURIComponent(document.location.href)+' '+encodeURIComponent(document.title));void(0)">Twitter</a>[b]
分享到 Facebook
[/b]<a rel="nofollow" class="fav_facebook" href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(document.location.href)+'&t='+encodeURIComponent(document.title));void(0)">Facebook</a>[b]
Delicious书签
[/b]<a rel="nofollow" class="fav_delicious" href="javascript:window.open('http://del.icio.us/post?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'¬es=');void(0)">Delicious</a>
相关文章推荐
- 分享到QQ/人人网/开心网/豆瓣/google/百度/facebook等代码
- 分享代码 Twitter,Facebook,Google,Yahoo,Linkedined
- 一键分享到新浪微博、腾讯微博、搜狐微博、人人网、开心网、百度收藏等js代码大全
- 分享到twitter,facebook,google,yahoo,linkedined,msn
- Share.js 一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+、点点
- 通过JavaScript打开网页方式进行分享-转最简单易用的开心网、人人网、新浪微博、腾讯微博、QQ空间分享代码
- zencart zencart产品分享到twitter、facebook 经典代码
- 分享到人人网/开心网/QQ/百度/Google书签/新浪收藏等JS代码
- js网站上添加tweet facebook google+等英文分享按钮代码
- js分享到facebook,twitter,linkedin和google
- Share.js网页一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+
- js分享到facebook,twitter,linkedin和google
- 文章分享到新浪微博,人人网,开心网和天涯社区的代码
- iOS实现向多个社交网站(facebook,微信,微博,twitter等)分享的代码,支持iPhone和iPAD(分享链接编码)
- js分享到facebook,twitter,linkedin和google
- twitter、facebook、pinterest、linkedin 分享代码
- 轻松搞定facebook、twitter、google_plus等分享按钮
- 分享到豆瓣/QQ/开心网/人人网/百度/Google等代码
- js分享到facebook,twitter,linkedin和google
- 分享到豆瓣/QQ/开心网/人人网/百度/Google等代码