//分享到新浪微博 $('#blog').click(function(){ window.sharetitle = '<%$info.title%>';//标题 window.shareUrl = '__IMG__<%$info.img.0.url%>';//缩略图 share(); }); function share(){ //d指的是window (function(s,d,e){try{}catch(e){}var f='http://v.t.sina.com.cn/sh…
逛一些网站的时候经常会看到右侧挂个分享栏,让用户把自己的站分享到qq空间,微信等等,所以自己也研究了下,把他加到了自己的网站上,喜欢的可以先看看效果:去转盘网,不多说了,直接上代码: window._bd_share_config = { "common" : { "bdSnsKey" : {}, "bdText" : "", "bdMini" : "2", "bdMiniLi…
今天公司原来的分享代码,在IE下有问题.网上找了下网上的分享代码. 给网页加上分享代码,借助网友的力量推广网站,目前已经很流行了 以下是网页代码 QQ空间分享代码如下: <a href="javascript:void(0);" onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.locatio…
QQ空间分享代码如下:    <a href="javascript:void(0);" onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href));return false;" title="分享到QQ空间"><img src=…
给网页加上分享代码,借助网友的力量推广网站,目前已经很流行了 以下是网页代码 QQ空间分享代码如下: <a href="javascript:void(0);" onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href));return false;" title…
<html> <head></head> <body> <div class="xl_2"> <span style="float:left">分享:</span> ", "bdMiniList": false, "bdPic": "", "bdStyle": "0", &q…
    //分享QQ好友    function qq(title,url,pic)    {        var p = {            url: 'http://test.qicheyitiao.com',/*获取URL,可加上来自分享到QQ标识,方便统计*/            desc: '来自汽车氪的分享', /*分享理由(风格应模拟用户对话),支持多分享语随机展现(使用|分隔)*/            title : title,/*分享标题(可选)*/       …
//分享QQ好友 function qq(title,url,pic) { var p = { url: 'http://test.qicheyitiao.com',/*获取URL,可加上来自分享到QQ标识,方便统计*/ desc: '来自汽车氪的分享', /*分享理由(风格应模拟用户对话),支持多分享语随机展现(使用|分隔)*/ title : title,/*分享标题(可选)*/ summary : title,/*分享描述(可选)*/ pics : pic,/*分享图片(可选)*/ fla…
分享到QQ空间 http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://campus.51job.com/cmbnt/?pageid_1&;title=xxxx2018校园招聘&;desc=xxxx&;summary=xxxxx&;site=xxxxx 分享到新浪微博 <a id="video_weibo" href="http://v.t.sina.co…
通过qq空间.qq聊天.新浪微博和微信二维码分享平台提供的接口,实现把网页中对应的图片.标题.描述的信息参数用javascript获取后传进接口中,实现一键分享. 使用到的接口(测试时需要登录,网址和图片必须是公网的,不能localhost): 1.分享到QQ空间接口:https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=你的网址&sharesource=qzone&title=你的分享标题&pics=你的分…