将以下代码嵌入到HTML代码中即可
<a title="分享到搜狐微博" 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'));" style="margin:0 0 0 20px;font-size:12px;font-family:'\5b8b\4f53';color:#369"><span style="display:inline-block;width:16px;height:16px;margin:0 3px 0.2em -20px;vertical-align:middle;background:url(http://s2.cr.itc.cn/img/t/152.png) no-repeat"></span>分享到搜狐微博</a>
可配置的参数在下例代码块中标红显示(以下代码仅供说明,不能直接复制粘贴使用)
<a title="分享到搜狐微博" 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=['&appkey=','appkey值','&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,,,,CONTENT,URL,utf-8));" style="margin:0 0 0 20px;font-size:12px;font-family:'\5b8b\4f53';color:#369"><span style="display:inline-block;width:16px;height:16px;margin:0 3px 0.2em -20px;vertical-align:middle;background:url(http:⁄⁄s2.cr.itc.cn⁄img⁄t⁄152.png) no-repeat"><⁄span>分享到搜狐微博<⁄a>