Created
January 16, 2014 07:56
-
-
Save whichlight/8451255 to your computer and use it in GitHub Desktop.
button example with betahaus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var button = "<a class="embedly-button" href="http://embed.ly/code" data-lang="Auto (Determined by Browser)">Embed</a><br/><script>!function(a){var b="embedly-platform",c="script";if(!a.getElementById(b)){var d=a.createElement(c);d.id=b,d.src=("https:"===document.location.protocol?"https":"http")+"://cdn.embedly.com/widgets/platform.js";var e=document.getElementsByTagName(c)[0];e.parentNode.insertBefore(d,e)}}(document);</script>"; var $button = jQuery('<div/>').html(button).text(); jQuery(".post-content").append($button) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment