Completely Fixed Twitter Timeline Embed
This commit is contained in:
parent
64784a57d8
commit
84ea7f1e1a
1 changed files with 4 additions and 18 deletions
|
@ -1,21 +1,7 @@
|
||||||
<center class="fade_in">
|
<center class="fade_in">
|
||||||
<h1>News / Updates</h1>
|
<h1>News / Updates</h1>
|
||||||
<div id="updates_container">
|
<h4>This is where updates about the competition and clarifications about the problems will be posted.
|
||||||
<div id="updates">
|
<br>Make sure you check this page frequently during the competition!</h4>
|
||||||
<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;"
|
<a class="twitter-timeline" href="https://twitter.com/easyctf" data-widget-id="681250456908120064">Tweets by @easyctf</a>
|
||||||
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>
|
||||||
<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>
|
|
||||||
</center>
|
</center>
|
||||||
|
|
Loading…
Reference in a new issue