MyBB Community Forums

Full Version: Adding social buttons(Facebook/Twitter/Google Plus) in the header - reg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've added the following code from addthis.com in the header of my site in top right of head section(header screenshot attached). I want feedback from experts if it is ok to do it this way and will not cause any layout/browser issues:

<!-- 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_pinterest_pinit"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4ed5fa1d3aa24279"></script>
<!-- AddThis Button END -->



[attachment=26705]
Looks fine if you ask me.
Shouldn't cause any browser specific problems.