引用JiaThis的分享功能:
直接在想要放置分享功能的地方加上如下代码即可:
1 <!-- JiaThis Button BEGIN --> 2 <div class="jiathis_style pull-right" style="margin-top: -15px"> 3 <span class="jiathis_txt">分享到:</span> 4 <a class="jiathis_button_weixin"></a> 5 <a class="jiathis_button_cqq"></a> 6 <a class="jiathis_button_qzone"></a> 7 <a class="jiathis_button_tsina"></a> 8 <a class="jiathis_button_tqq"></a> 9 <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a> 10 <!--<a class="jiathis_counter_style"></a>--> 11 </div> 12 <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script> 13 <!-- JiaThis Button END -->
分享图标可自定义,自定义方式可上其官网查看。JiaThis官网:http://www.jiathis.com/