- 浏览: 730478 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
梦行Monxin商城系统:
java网上商城与php网上商城比较 -
梦行Monxin商城系统:
java网上商城与php网上商城比较 -
任楚娴:
你好,请问html = nvl(html); 这句中的nvl( ...
java html串转换成文本串 -
u013246812:
,谢拉!
jQuery ui Dialog 讲解参数 -
大宝剑99:
...
前端优化
腾讯微博分享
在页面中加入超链接:
<a href="javascript:void(0)" onclick="postToWb();" class="tmblog">腾讯微博</a>
-------------------------------------------------------------
新浪微博分享
------------------------------------------------------------
网易微博分享
搜狐微博分享代码:
<a href="javascript:void((function(s,d,e,r,l,p,t,z,c){var f='http://t.sohu.com/third/post.jsp?',u=z||d.location,p=['&url=',e(u),'&title=',e(t||d.title),'&content=',c||'gb2312','&pic=',e(p||'')].join('');function%20a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=660,height=470,left=',(s.width-660)/2,',top=',(s.height-470)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent,'','','','','','utf-8'));" title="分享到搜狐微博" class="s3"> </a>
人人网分享代码:
<a href="javascript:window.open('http://share.renren.com/share/buttonshare.do?title='+encodeURIComponent(document.title.substring(0,76))+'&link='+encodeURIComponent(location.href)+'&content=','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" title="分享到人人网" class="s4"> </a>
开心网分享代码:
<a href="javascript:window.open('http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent(document.title.substring(0,76))+'&rurl='+encodeURIComponent(location.href)+'&rcontent=','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" title="分享到开心网" class="s5"> </a>
豆瓣网分享代码:
<a 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+'&r=1'};if(/firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" title="分享到豆瓣网" class="s6"> </a>
<script type="text/javascript"> function postToWb(){ var _t = encodeURI('${(activity.intro)!}');//'${(activity.intro)!}'这是取得Action穿过来的值,如果想取当前标题改为document.title var _url = encodeURI(document.location); var _appkey = encodeURI("appkey");//你从腾讯获得的appkey var _pic = encodeURI('');//(列如:var _pic='图片url1|图片url2|图片url3....) var _site = '';//你的网站地址 var _u = 'http://v.t.qq.com/share/share.php?title='+_t+'&url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic; window.open( _u,'转播到腾讯微博', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' ); } </script>
在页面中加入超链接:
<a href="javascript:void(0)" onclick="postToWb();" class="tmblog">腾讯微博</a>
-------------------------------------------------------------
新浪微博分享
<a target="_self" onclick="(function(){var url = 'link=http://news.163.com/&source='+ encodeURIComponent('网易新闻')+ '&info='+ encodeURIComponent('${(activity.intro)!}') + ' ' + encodeURIComponent(document.location.href);window.open('http://t.163.com/article/user/checkLogin.do?'+url+'&'+new Date().getTime(),'newwindow','height=330,width=550,top='+(screen.height-280)/2+',left='+(screen.width-550)/2+', toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no');})()" href="javascript:void(0);"><img height="19px" border="0" align="absMiddle" alt="分享到网易微博" title="分享到网易微博" />网易微博</a> //其中encodeuRIComponent('${(activity.intro)}')我取的是action传过来的值,如果想取当前页面标题改为encodeuRIComponent(document.title)
------------------------------------------------------------
网易微博分享
<a target="_self" onclick="(function(){var url = 'link=http://news.163.com/&source='+ encodeURIComponent('网易新闻')+ '&info='+ encodeURIComponent('${(activity.intro)!}') + ' ' + encodeURIComponent(document.location.href);window.open('http://t.163.com/article/user/checkLogin.do?'+url+'&'+new Date().getTime(),'newwindow','height=330,width=550,top='+(screen.height-280)/2+',left='+(screen.width-550)/2+', toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no');})()" href="javascript:void(0);"><img height="19px" border="0" align="absMiddle" alt="分享到网易微博" title="分享到网易微博" />网易微博</a> //其中encodeuRIComponent('${(activity.intro)}')我取的是action传过来的值,如果想取当前页面标题改为encodeuRIComponent(document.title)
搜狐微博分享代码:
<a href="javascript:void((function(s,d,e,r,l,p,t,z,c){var f='http://t.sohu.com/third/post.jsp?',u=z||d.location,p=['&url=',e(u),'&title=',e(t||d.title),'&content=',c||'gb2312','&pic=',e(p||'')].join('');function%20a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=660,height=470,left=',(s.width-660)/2,',top=',(s.height-470)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent,'','','','','','utf-8'));" title="分享到搜狐微博" class="s3"> </a>
人人网分享代码:
<a href="javascript:window.open('http://share.renren.com/share/buttonshare.do?title='+encodeURIComponent(document.title.substring(0,76))+'&link='+encodeURIComponent(location.href)+'&content=','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" title="分享到人人网" class="s4"> </a>
开心网分享代码:
<a href="javascript:window.open('http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent(document.title.substring(0,76))+'&rurl='+encodeURIComponent(location.href)+'&rcontent=','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" title="分享到开心网" class="s5"> </a>
豆瓣网分享代码:
<a 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+'&r=1'};if(/firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" title="分享到豆瓣网" class="s6"> </a>
发表评论
-
Chrome扩展程序-BES Blocker
2020-11-27 08:35 200## 使用说明 - Change the response ... -
全国最新行政区划代码(Tree)json数据以及地理数据
2020-11-11 21:23 328基于阿里提供的地理数据 http://datav.aliyun ... -
百度搜索api
2020-11-07 15:26 558<div class="iteye-blog- ... -
Puppeteer 说明记录
2020-11-06 10:52 547<div class="iteye-blo ... -
文本水印
2019-12-20 17:55 402打开控制台,copy如下代码: (functio ... -
unicode字符集特殊符号对应html/js/css符号
2019-04-24 14:46 678转自: http://www.cnblogs.com/cha ... -
网站灰度支持
2015-01-02 07:22 8131 <style>html {overflo ... -
js 端排序 获取td里边的内容去html串化
2014-09-26 18:12 792<script> function delHtml ... -
ie浏览器下的css expression使用
2014-03-06 16:39 1177针对ie浏览器有些情况下显示效果比较差,所以针对ie ... -
输入框自动填充效果 js
2013-12-28 15:58 6037<!doctype html> ... -
js 屏蔽form的onkeydown onkeyup onkeypress 的13按键
2013-07-11 10:49 1763js 屏蔽form的onkeydown onkeyup on ... -
Cookie path的设置
2013-02-21 10:58 1904cookie path 设置 IE对如下的co ... -
html5 (标签一览)
2012-10-16 19:22 983html5 标签 按字母顺序排 ... -
DOJO js 基本dom操作
2012-06-20 09:44 4576/** ** 基本的DOM操作只是用到了dojo的核 ... -
原始ajax api 操作
2012-04-12 18:00 1071String.prototype.trim = func ... -
js 动态 添加 删除 tr
2012-04-12 17:27 5735今天给新人出了一道题: dom 和 javascrip ... -
ie8下 vml
2012-04-01 13:51 1654近期在做web流程设计器,在ie7下没有问题,显示出来了,但是 ... -
flex vs html5
2011-12-18 18:09 2120何时使用HTML5,而不是Fl ... -
java毕业设计 计算机毕业设计 软件定制开发
2011-10-01 07:00 86工作室承接各种毕业设计以及软件定制开发。 java毕业设计 ... -
opener parent showModalDialog父窗口
2011-09-19 09:31 3504opener与parent的区别 opene ...
相关推荐
安卓 android一键分享 新浪微博 腾讯微博,qq空间,qq,人人网
JavaScript实现一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+、点点等 JavaScript实现一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook...
一键完成腾讯微博微博任务 并领奖.
一键分享到新浪微博,腾讯微博,人人网,QQ空间,微信好友圈
一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google 、点点等
overtrue-share.js 一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+、点点等
超好用,很给力,微博第一属于你哦!
一键收听代码轻松实现一键收听微博用户!方便 快捷 尽在一键收听代码。
易一辅助工具腾讯微博小推兔一键转发软件就是款适用于腾讯微博的增加粉丝的工具。对于那些本来好友就少,粉丝也少的小伙伴来说,借助它就能够快速帮你增加腾讯微博中的粉丝,从而让你在里面成为网络红人! 易一辅助...
竞品分析报告腾讯微博VS新浪微博.ppt
asp.net 腾讯微博新浪微博帐号登录 授权
分享到新浪,腾讯微博
在手机客户端 向新浪腾讯微博发送微博运用Oauth认证 第三方jar包
腾讯微博API使用范例,c# net4.0版本,VS2010编译通过,供学习使用, 实现 OAuth授权认证,微博相关的部分接口调用,如:获取某条微博数据、发表微博、转播、删除、回复等
腾讯微博源代码,想学习android微博开发的童鞋自己拿去看看啊
将自己的网页URL地址分享到腾讯,网易,新浪微博
Android 手机开发 利用腾讯微博开放平台提供的API发表微博
腾讯微博开放API文档 免费 免费 一起开发
最近项目需要搞腾讯微博api封装,主要针对开发者,想要使用腾讯微博官方发布的api接口时,如何进行授权,如何调用和封装官方接口,这些东西用来共同学习和相互进步,相信这个可以满足你的基本需要;