widget 工具 widget tools (add this , share this, jia this)



<!-- AddThis Button BEGIN -->
<div><a expr:addthis:title='data:post.title' expr:addthis:url='data:post.url' class='addthis_button'><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=gideon300"></script></div>
<!-- AddThis Button END -->
 


<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f3531b740fdb122"></script>
<!-- AddThis Button END -->
 
自定义(语言,内容)
<style>.addthis_toolbox ul{list-style:none;}.addthis_toolbox li{float:left;}</style>
<div class="addthis_toolbox addthis_default_style">
	<ul>
		<li>
			<!-- AddThis Button BEGIN -->
			<a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:width="120" fb:like:locale="ja_JP"></a>
			<a class="addthis_button_tweet" tw:lang="ja"></a>
			<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
		</li>
		<li>
			<a href="http://b.hatena.ne.jp/entry/<?=$page_url?>" class="hatena-bookmark-button" data-hatena-bookmark-layout="standard" title="このエントリーをはてなブックマークに追加">
				<img src="http://b.st-hatena.com/images/entry-button/button-only.gif" alt="このエントリーをはてなブックマークに追加" width="20" height="20" style="border: none;" />
			</a>
			<script type="text/javascript" src="http://b.st-hatena.com/js/bookmark_button.js" charset="utf-8" async="async"></script>
		</li>
		<li style="padding-right:14px;padding-left:14px;">
			<a href="http://mixi.jp/share.pl" class="mixi-check-button" data-key="edcbe2d01f820c190b436cf1856f4c4f1e014c42" data-url="<?=$page_url?>">mixiチェック</a>
    		<script type="text/javascript" src="http://static.mixi.jp/js/share.js"></script>
		</li>
		<li>
			<a class="addthis_button_compact"></a>
			<a class="addthis_counter addthis_bubble_style"></a>
			<script type="text/javascript">
				var addthis_config =
				{
					ui_language: "ja",
					services_custom: [{
					        name: "Yahoo!ブックマーク",
					        url: "http://bookmarks.yahoo.co.jp/bookmarklet/showpopup?u=<?=$page_url?>&t=<?=$article['title']?>&ei=UTF-8",
					        icon: "http://i.yimg.jp/images/sicons/ybm16.gif"
					   	}, {
					        name: "CoRich",
					        url: "http://newsclip.corich.jp/clip/public_html/marklet.php?url=<?=$page_url?>",
					        icon: "http://jp.ibtimes.com/images/corich.gif"
					   	}, {
					        name: "Choix",
					        url: "http://www.choix.jp/submit?title=<?=$article['title']?>&amp;url=<?=$page_url?>&amp;phase=1",
					        icon: "http://jp.ibtimes.com/images/choix.gif"
					   	}, {
					        name: "livedoor",
					        url: "http://clip.livedoor.com/clip/add?link=<?=$page_url?>&title=<?=$article['title']?>",
					        icon: "http://parts.blog.livedoor.jp/img/cmn/clip_16_16_w.gif"
					   	}, 
					],
					services_compact: "favorites,email,print,google,evernote,linkedin,delicious,tumblr,bookmarks.yahoo.co.jp,clip.livedoor.com,newsclip.corich.jp,choix.jp,more"
				}
			</script>
			<!-- AddThis Button END -->
			<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
		</li>
	</ul>
</div>
 
参看:

3. 中文版  http://www.jiathis.com/

<!-- JiaThis Button BEGIN -->
<a href="http://www.jiathis.com/share.html" class="jiathis"><img src="http://www.jiathis.com/code/images/jiathis.gif" width="125" height="21" border="0" id="jiathis_a"/></a>
<script type="text/javascript" src="http://www.jiathis.com/code/jia.js" charset=utf-8></script>
<!-- JiaThis Button END -->
 
4. 中文版 http://addthis.org.cn/

<script type="text/javascript" src="http://china-addthis.googlecode.com/svn/trunk/addthis.js" charset="UTF-8"></script><span class="addthis_org_cn"><a href="http://addthis.org.cn/share/" i="0|1|31|22|23|28|24|42|48|49|35|29|21|38|36|44|46" title="收藏&amp;分享"><img src="http://addthis.org.cn/images/a1.gif" alt="分享家:Addthis中文版" align="absmiddle" /></a></span>
 


本站关联:

你可能感兴趣的:(JavaScript,html)