Sharing & Printing

Details

We have a special page sharing and printing component at the bottom of each page. We use "addthis(www.addthis.com)" to share to a large number of social networks but the primary ones are:

  • Facebook
  • Twitter
  • AAFP Connection
  • Print.

You may use any and all of these connections as available.

The share this page component belongs at the bottom of the page, after all content, but before the footer.

Code

<div class="sharebox share cq-element-sharebox" >
        <p id="cq-gen44">Share this page</p>
        <div class="icons" id="cq-gen45">
            <a title="Bookmark and Share" class="addthis_button_compact icon sharethis" href="http://www.addthis.com/bookmark.php?v=250&amp;username=aafponline"></a>
            <a title="Share to Facebook" class="addthis_button_facebook icon facebook"><img alt="Share to Facebook" src="//img.aafp.org/icons/facebook.png"></a>
            <a title="Share to Twitter" class="addthis_button_twitter icon twitter"><img alt="Share to Twitter" src="//img.aafp.org/icons/twitter.png"></a>
            <a title="Share this on AAFP Connection" href="javascript:void(0);" class="icon aafp-connection" id="aafpConnectShare">AAFP</a>
            <a href="#" onclick="window.print(); return false;" title="Print page" class="icon print">Print</a>
        </div>
        <div class="clearfix"></div>

Live Example