js实现分享功能
来源:互联网 发布:怎样加速手机网络 编辑:程序博客网 时间:2024/06/05 04:51
分享到新浪微博
function shareToXl(title,url,picurl){
var sharesina='http://v.t.sina.com.cn/share/share.php?title="+title+"&url="+url;
var top = (window.outerHeight-505)/2;
var left = (window.outerWidth-615)/2;
window.open(sharesina,'_blank','width=615,height=505,top='+top+',left='+left);
var left = (window.outerWidth-615)/2;
window.open(sharesina,'_blank','width=615,height=505,top='+top+',left='+left);
}
分享到QQ http://connect.qq.com/widget/shareqq/index.html
分享到QQ空间 http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey
分享到微信 http://s.jiathis.com/qrcode.php?url=链接
分享到腾讯微博 http://v.t.qq.com/share/share.php
注意本地测试时url不能直接传入location.href
阅读全文
0 0
- js实现分享功能
- js baidu插件实现网页分享功能
- 微信JS-SDK实现分享功能
- 微信JS-SDK实现自定义分享功能,分享给朋友,分享到QQ,分享到微博
- 微信JS-SDK实现自定义分享功能,分享给朋友,分享到朋友圈,后台实现
- js分享功能
- js分享功能
- JS分享功能
- 微信JS-SDK实现自定义分享功能,分享给朋友,分享到朋友圈
- 微信JS-SDK实现自定义分享功能,分享给朋友,分享到朋友圈
- android 实现分享功能
- 分享功能实现
- android实现分享功能
- android 实现分享功能
- android 实现分享功能
- 实现邮件分享功能
- android 实现分享功能
- android 实现分享功能
- 梁胜博士:写给程序员的话(节选)
- 表间的关系一对多/一对一/多对多关系是怎样建立的?
- equals 和==的区别
- SGU315:The Highway Belt(DP)
- 全面认识区块链——私有区块链
- js实现分享功能
- http 学习笔记
- WebUtils封装返回值
- 前端面试之模块化-1、模块的写法
- 关于最小生成树的一些性质
- RedisTemplate.java
- 浅谈php接收POST数据的三种方式
- Pytorch框架下Finetune注意点
- 100个网络基础知识Q&A