日期:2014-05-17  浏览次数:20690 次

分享到Yahoo的PHP代码
facebook,twitter,google分别写的是下面的几个,但是还有个yahoo的不知道怎么写

<a class="fav_facebook" rel="nofollow" href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(document.location.href)+'&amp;t='+encodeURIComponent(document.title));void(0)">Facebook</a>

<a class="fav_twitter" rel="nofollow" href="javascript:window.open('http://twitter.com/home?status='+encodeURIComponent(document.location.href)+' '+encodeURIComponent(document.title));void(0)">Twitter</a>

<a class="fav_google" rel="nofollow" href="javascript:window.open('http://www.google.com/bookmarks/mark?op=add&amp;bkmk='+encodeURIComponent(document.location.href)+'&amp;title='+encodeURIComponent(document.title));void(0)">Google</a>



------解决方案--------------------
雅虎,我从来没上过。
------解决方案--------------------
分享到雅虎?几乎没见过啊
------解决方案--------------------
这跟php有啥关系,就是javascript嘛
------解决方案--------------------
<a title="Share to Yahoo! Buzz" href="javascript:var u='http://buzz.yahoo.com/buzz?publisherurn=来源名称&amp;targetUrl='+url;window.open(u,'yahoobuzz','scrollbars=yes,resizable=yes');void(0)"> Yahoo! Buzz</a>
找来的 试试看~
------解决方案--------------------
标题就起错了。跟php没半点关系。