Skip to content

Instantly share code, notes, and snippets.

@notionparallax
Created May 4, 2015 06:33
Show Gist options
  • Save notionparallax/bb570abdbf93b70c60a3 to your computer and use it in GitHub Desktop.
Save notionparallax/bb570abdbf93b70c60a3 to your computer and use it in GitHub Desktop.
WvvqrW
<script src="http://platform.twitter.com/widgets.js"></script>
<button id="twit">twit me</button>
<button id="kill">kill me</button>
<div id="thisone"></div>
var twitterTimeline = '<a class="twitter-timeline" href="https://twitter.com/search?q=from%3AarchitectureBVN%20OR%20from%3Ajamesgrose%20OR%20from%3AMcfblair%20OR%20from%3Aikirkland%20OR%20from%3AFZ_6%20OR%20from%3AFionaY27%20OR%20from%3Anotionparallax%20OR%20from%3Acr_tate%20OR%20from%3Achrismury%20OR%20from%3Aonimod" data-widget-id="347154675793022976" data-theme="light" data-link-color="rgba(150,150,150,1)" data-related="" data-chrome="noheader nofooter noborders transparent noscrollbar" data-tweet-limit="20" data-aria-polite="polite" width="" height=""> </a>'
$("#twit").click(function(){
$("#thisone").html(twitterTimeline);
twttr.widgets.load();
});
$("#kill").click(function(){
$("#thisone").html("");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment