2010年5月12日 星期三

推文至其他網站code

總之就是目前流行的推文至Facebook, Plurk....


<div class="Tools">

<a align="absmiddle" height="16" width="16" href="javascript: void(window.open('http://www.facebook.com/share.php?u='.concat(encodeURIComponent(location.href)) ));">
<img width="16" height="16" align="absmiddle" alt="推文至Facebook" src="IconFacebook.gif">
</a>

<a align="absmiddle" height="16" width="16" onclick="window.open('http://www.plurk.com/?qualifier=shares&amp;status=' .concat(encodeURIComponent('文章標題')).concat(' ').concat(encodeURIComponent(location.href)));" href="javascript:void(0);">
<img width="16" height="16" align="absmiddle" alt="推文至Plurk" src="IconPlurk.gif">
</a>

<a title="推文至Funp" href="javascript:void(0);">
<img width="16" height="16" align="absmiddle" alt="推文至Funp" src="Iconfunp.gif">
</a>

<a title="推文至twitter" onclick="window.open('http://twitter.com/home/?status=' .concat(encodeURIComponent('文章標題')).concat(' ').concat(encodeURIComponent(location.href)));" href="javascript:void(0);">
<img width="16" height="16" align="absmiddle" alt="推文至twitter" src="IconTwitter.png">
</a>

<a title="加入UDN書籤" href="javascript:void(0);">
<img width="16" height="16" align="absmiddle" alt="加入UDN書籤" src="Iconudn.png">
</a>

<a title="收進你的MyShare個人書籤" href="javascript:void(0);">
<img width="16" height="16" align="absmiddle" alt="收進你的MyShare個人書籤" src="IconMyShare.gif">
</a>

<a title="加入hemidemi書籤" href="javascript:void(0);">
<img width="16" height="16" align="absmiddle" alt="加入hemidemi書籤" src="IconHD.gif">
</a>

</div>

【下列文章您可能也有興趣】

沒有留言: