Skip to content

Instantly share code, notes, and snippets.

@chrisjenx
Forked from anonymous/gist:7428588
Last active December 28, 2015 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisjenx/7428816 to your computer and use it in GitHub Desktop.
Save chrisjenx/7428816 to your computer and use it in GitHub Desktop.
Added style and cleaned up
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
a { color: #FFFFFF; }
iframe[id^='twitter-widget-']{ width:100%;}
em {visibility: hidden;}
</style>
<script>
function widgetLoaded() {
window.location.assign("goahead://twitter-loaded")
}
function widgetError() {
window.location.assign("goahead://twitter-error")
}
</script>
</head>
<body>
<a class="twitter-timeline" href="https://twitter.com/Se_Railway" data-widget-id="398412093839265792"
data-chrome="noheader nofooter noborders noscrollbar" height="503" data-link-color="#2f9771"></a>
<script onload="widgetLoaded()" onerror="widgetError()" src="https://platform.twitter.com/widgets.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment