Completely Fixed Twitter Timeline Embed

This commit is contained in:
CommanderStrax 2015-12-27 17:11:30 -06:00
parent 64784a57d8
commit 84ea7f1e1a

View file

@ -1,21 +1,7 @@
<center class="fade_in">
<h1>News / Updates</h1>
<div id="updates_container">
<div id="updates">
<iframe id="twitter-widget-0" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" class="twitter-timeline twitter-timeline-rendered" style="position: static; visibility: visible; display: inline-block; width: 100%; height: 600px; padding: 0px; border: none; max-width: 520px; min-width: 180px; margin-top: 0px; margin-bottom: 0px; min-height: 200px;"
data-widget-id="661431758655782912" data-user-id="3239603087" title="Twitter Timeline"></iframe>
<script>
! function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? 'http' : 'https';
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = p + "://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");
</script>
</div>
</div>
<h4>This is where updates about the competition and clarifications about the problems will be posted.
<br>Make sure you check this page frequently during the competition!</h4>
<a class="twitter-timeline" href="https://twitter.com/easyctf" data-widget-id="681250456908120064">Tweets by @easyctf</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</center>