Skip to content

Instantly share code, notes, and snippets.

@neotericdesign
Created September 16, 2010 22:20
Show Gist options
  • Save neotericdesign/583277 to your computer and use it in GitHub Desktop.
Save neotericdesign/583277 to your computer and use it in GitHub Desktop.
<div id="share">
<iframe src="http://www.facebook.com/plugins/like.php?href=<$mt:EntryPermaLink url_encode='1'$>&amp;layout=standard&amp;show_faces=false&amp;width=250&amp;action=like&amp;font=lucida+grande&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:35px;" allowTransparency="true"></iframe>
<div id="share_this" class="box rounded">
<ul class="menu clearfix">
<li><a id="email" class="icon email addthis_button_email at300b" href="#">Email</a></li>
<li><a id="print" href="javascript:window.print();">Print</a></li>
<li><a id="share_link" class="addthis_button_compact" href="http://addthis.com/bookmark.php?v=250&amp;username=[ADDTHIS USERNAME]">Share</a></li>
<li><a id="rss" href="http://feeds.feedburner.com/[FEEDBURNER URL]">RSS</a></li>
</ul>
</div><!-- /share_this -->
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=[ADDTHIS USERNAME]"></script>
</div><!-- /share -->
#share_this {
position: relative;
margin: 0;
padding: 10px;
}
#share_this ul {
margin: 0;
padding: 0;
overflow: hidden;
font-size: 11px;
}
#share_this ul li {
list-style-type: none !important;
float: left;
margin: 0;
padding: 0;
}
#share_this a {
position: relative;
display: block;
float: left;
color: #666;
padding-left: 20px;
margin-right: 10px;
height: 16px;
line-height: 16px;
}
#share_this a span {
background: none !important;
width: 0 !important;
height: 0 !important;
position: relative;
}
#share_this a#email {
background: url(/_images/both/icon-email.gif) no-repeat;
}
#share_this a#email:hover {
color: #999;
background-position: 0 -50px;
}
#share_this a#print {
background: url(/_images/both/icon-print.gif) no-repeat;
}
#share_this a#print:hover {
color: #999;
background-position: 0 -50px;
}
#share_this a#share_link {
position: relative;
background: url(/_images/both/icon-share.gif) no-repeat;
}
#share_this a#share_link:hover {
color: #999;
background-position: 0 -50px;
}
#share_this a#rss {
background: url(/_images/both/icon-rss.gif) no-repeat;
}
#share_this a#rss:hover {
color: #999;
background-position: 0 -50px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment