阅读背景:

php 实现分享到QQ空间 新浪微博

来源:互联网 

 

//分享到新浪微博  
            $('#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='https://v.t.sina.com.cn/share/share.php?',u=d.location.href,p=['url=',e(u),'&title=',e(window.sharetitle),'&appkey=2924220432','&pic=',e(window.shareUrl)].join('');function a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=620,height=450,left=',(s.width-620)/2,',top=',(s.height-450)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})(screen,document,encodeURIComponent);  
            }  
//分享到新浪微博  
            $('#blog').clic



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: