Skip to content

Instantly share code, notes, and snippets.

View tricil's full-sized avatar

John Jacobus tricil

View GitHub Profile
<script type="text/javascript" src="http://cdn.topspin.net/javascripts/topspin_core.js?aId=3001&timestamp=1358985867"></script>
<div class="topspin-widget topspin-widget-email-for-media">
<object type="application/x-shockwave-flash" width="285" height="80" id="TSWidget33549" data="http://cdn.topspin.net/widgets/email2/swf/TSEmailMediaWidget.swf?timestamp=1358985867" bgColor="#000000">
<param value="always" name="allowScriptAccess"/>
<param name="allowfullscreen" value="true"/>
<param name="quality" value="high"/>
<param name="movie" value="http://cdn.topspin.net/widgets/email2/swf/TSEmailMediaWidget.swf?timestamp=1358985867"/>
<param name="flashvars" value="theme=black&amp;hideinfo=true&amp;highlightColor=0x33B5E5&amp;widget_id=http://cdn.topspin.net/api/v1/artist/3001/email_for_media/33549"/>
</object>
</div>
@tricil
tricil / Asynchronous Facebook Twitter Google+ buttons and Google Analytics Social Tracking
Created April 21, 2012 04:21
This .js file will render HTML5 social buttons asynchronously as well as bind callbacks to Google Analytics. Twitter Follow Action and Facebook Comment tracking included.
window.fbAsyncInit = function() {
FB.init({
appId : '123456', // ENTER your FB App ID
//channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
_ga.trackFacebook(); //Google Analytics tracking
@tricil
tricil / bootstrap-plugins.txt
Created April 11, 2012 03:25 — forked from mklabs/bootstrap-plugins.txt
h5bp + twitter bootstrap integration
bootstrap-tooltip.js
bootstrap-popover.js
bootstrap-alert.js
bootstrap-button.js
bootstrap-carousel.js
bootstrap-collapse.js
bootstrap-dropdown.js
bootstrap-modal.js
bootstrap-scrollspy.js
bootstrap-tab.js