document.writeln("<b>喜欢本文,那就分享到:</b> ");
document.write(" <a href=\"javascript:window.open(\'http:\/\/v.t.sina.com.cn\/share\/share.php?title=\'+encodeURIComponent(document.title.substring(0,76))+\'&url=\'+encodeURIComponent(location.href)+\'&rcontent=\',\'_blank\',\'scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes\'); void 0\" style=\"color:#000000;text-decoration:none;font-size:12px;font-weight:normal\"><img src='/images/share/sina.jpg' alt='新浪微博' title='分享到新浪微博' border='0'></a> ");
document.write(" <a href=\"javascript:(function(){window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=bookmark','_blank','width=610,height=350');})()\" title=\"分享到QQ微博\"><img src='/images/share/qqwb.png' border='0' alt='腾讯微博' title='分享到腾讯微博'/></a>");
document.write(" <a href=\"javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://t.sohu.com/third/post.jsp?&url='+escape(d.location.href)+'&title='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();\"><img src='/images/share/sohu.jpg' title='分享到搜狐微博' alt='搜狐微博' border='0' height='16' width='16'></a>");
document.writeln(" <a href=\"javascript:u=location.href;t=document.title;c = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url=%22http:\/\/cang.baidu.com\/do\/add?it=%22+encodeURIComponent(t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=ien#nw=1%22;window.open(url,%22_blank%22,%22scrollbars=no,width=440,height=440,left=80,top=80,status=no,resizable=yes%22); void 0\"><img src='/images/share/baidu.gif' title=\'分享到百度搜藏\' alt='百度收藏' border=\'0\'><\/a> ");
document.write(" <a href=\"javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='+c(b.location)+'&title='+c(b.title),'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=420px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300)})();\"><img src='/images/share/google.png' alt='Google书签' border='0' title='分享到谷歌书签' ></a> ");
document.write(" <a href=\"javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://www.kaixin001.com/~repaste/repaste.php?&rurl='+escape(d.location.href)+'&rtitle='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();\"><img src='/images/share/kaixin.ico' title='分享到开心网' alt='开心网' border='0' height='16' width='16'></a>");
document.write(" <a href=\"javascript:void((function(s,d,e){if(/xiaonei\.com/.test(d.location))return;var%20f='http://share.xiaonei.com/share/buttonshare.do?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));\"><img src='/images/share/renren.ico' alt='人人网' title='分享到人人网' border='0' height='16' width='16'></a>");
document.write(" <a href=\"javascript:q=(document.location.href);void(open('http://www.douban.com/recommend/?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));\"><img src='/images/share/douban.jpg' border='0' alt='豆瓣网' title='分享到豆瓣网'/></a> ");
document.write(" <a href=\"javascript:t=document.title;u=location.href;e=document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():'');void(open('http://bookmark.hexun.com/post.aspx?title='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'HexunBookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));\"><img src='/images/share/hexun.gif' title='分享到和讯网摘' border='0'></a> ");
document.write(" <a 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','');void(0)><img src=\"/images/share/qq.gif\" alt='QQ书签' border='0'></a> ");
document.write(" <a href=\"javascript:location.href='http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title), 'Yahoo','scrollbars=yes,width=440,height=440,left=80,top=80,status=yes,resizable=yes';\" target='_blank'><img src='/images/share/yahoo.gif' alt='雅虎收藏' title='分享到雅虎收藏' border='0' ></a> ");
document.write(" <a href=\"javascript:location.href='http://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\" target='_blank'><img src=\"/images/share/live.gif\" alt=\"Live Bookmark\" title=\"分享到Live Bookmark\" border=\"0\"/></a>");
document.write(" <a href=\"javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=28&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();\"><img src='/images/share/vivi.gif' title='分享到新浪ViVi' border='0'></a> ");
document.write(" <a href=\"javascript:q=(document.location.href);void(open('http://www.digbuzz.com/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));\"><img src='/images/share/digbuzz.gif' border='0' alt='Digbuzz我挖网' title='分享到Digbuzz我挖网'/></a> ");
分享到:
相关推荐
分享xl微博js加密登陆代码,现可用! 最新可用 xl微博登陆api解密 参数逆向分析 参数加密解析 node 解密下载即有用
基于http://overtrue.me/share.js,修复了由于内容过长,get请求超出最大长度限制等问题
微博分享JS代码,右侧隐藏式,地可 直接运行,测试OK,总共3个JS文件
微博分享JS代码(修改版 )可以本地测试运行index.html和 shell_v2.js 文件注意修调地址
在自己的网站主页上增加社会化分享按钮,是有效提高自己网站流量的一种方法。 今天我在360zsw网上...当然现在有很多诸如分享家、jiathis等插件,但是用过后我总觉得速度慢,还不如自己写个js代码在自己网站内调用!
主要介绍了js实现选中页面文字将其分享到新浪微博,需要的朋友可以参考下
可分享到 QQ空间 开心网 人人网 豆瓣网 百度搜藏 雅虎收藏 腾讯微薄 新浪微博 搜狐微博 网易微博 js代码方便易用
百度分享已经不好用了,这个分享代码是自己做的一款可以再页面中集成分享代码的小组件,直接share.html中可以预览效果。使用的时候注意更换share2022.js中微博的链接中的分享账号设置。
本文实例讲述了JS实现仿腾讯微博无刷新删除微博效果代码。分享给大家供大家参考。具体如下: 这里演示JS仿腾讯微博无刷新删除效果,将显示在微博列表里的内容删除,运用AJAX技术,无刷新删除微博的内容,参考性强,...
jquery实现微博分享评论表情是一款很多网站评论模块都会用到一些表情的功能,默认提供了拜年,浪小花,暴走漫画等4组表情。
jQuery一键分享到多个平台代码基于jquery-1.11.1.min.js制作,点击按钮一键分享,可分享到微信、新浪微博、QQ好友、QQ空间等多个平台。
主要介绍了js实现将选中内容分享到新浪或腾讯微博,需要的朋友可以参考下
引入js后,页面添加如下代码 <a href="#" class="bds_more" data-cmd="more"></a> 分享到QQ好友"> 分享到新浪微博"> 分享到微信"> 分享到QQ空间"> </div>
3、分享到腾讯微博 4、新的分享接口,包含朋友圈、好友、微博的分享(for iOS) 5、隐藏/显示右上角的菜单入口 6、隐藏/显示底部浏览器工具栏 7、获取当前的网络状态 8、调起微信客户端的图片播放组件 9、关闭公众...
TianJi是中国最大的社会化分享按钮及代码提供商:提供分享到QQ空间、新浪微博等代码...通过访客不断的分享行为,来提升自己网站的优质外链、增加社会化流量、带来更多的用户!
本文实例讲述了JavaScript简单实现的仿微博留言功能。分享给大家供大家参考,具体如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>微博留言</...
本文实例讲述了JS实现新浪微博效果带遮罩层的弹出框代码。分享给大家供大家参考。具体如下: 这是一款新浪微博效果的弹出框,现成的JS代码,兼容IE6+,以及各主流浏览器。新浪微博弹出层并可拖拽,操作轻松舒适,...
选中即分享的功能看上去比较高级,其实实现是相当简单的,其中的会让人头大,一般人也不感兴趣的原理这里就直接跳过,这个js文字选中后分享到新浪微博的功能我简单的封装了下,方法名是:$sinaMiniBlogShare 实例代码如下:...
jQuery交互体验社会化分享代码是一款鼠标点击分享按钮向右滑出腾讯微博,新浪微博,QQ空间,豆瓣,微信,二维码分享等分享平台。