Team:UNIK Copenhagen/tweet bar

From 2013.igem.org

(Difference between revisions)
(Undo revision 90634 by Idapida (talk))
 
(32 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<style type="text/css>
+
 
-
.the_content{
+
<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>
-
text-align: justify;
+
 
-
width: 240px;
+
<div id="fb-root"></div>
-
margin: auto;
+
<script>(function(d, s, id) {
-
z-index:0;
+
  var js, fjs = d.getElementsByTagName(s)[0];
-
top: 60px;
+
  if (d.getElementById(id)) return;
 +
  js = d.createElement(s); js.id = id;
 +
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
 +
  fjs.parentNode.insertBefore(js, fjs);
 +
}(document, 'script', 'facebook-jssdk'));</script>
 +
 
 +
<style type="text/css">
 +
.fb-like-box{
 +
border-bottom: 1px solid #E0E0E0;
 +
margin-bottom: 20px;
 +
}
 +
.sidebar{
 +
border-left: 1px solid #E0E0E0;
 +
float: right;
 +
width: 270px;
 +
margin: 0px -25px 0px 0px;
 +
padding: 0px 0px 0px 10px;
 +
z-index:5;
display:block;
display:block;
position: relative;
position: relative;
-
padding: 20px 30px 60px 30px;
 
-
background: rgba(255, 255, 255, 0.6);;
 
}
}
</style>
</style>
-
<div class="the_content">
 
-
<a class="twitter-timeline" href="https://twitter.com/Signe_Tang" width="200" data-widget-id="366872273719816192" data-tweet-limit="5" data-chrome="noscrollbar transparent">Tweets by @Signe_Tang</a>
 
-
</div>
 
-
<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>
+
<body>
 +
<div class="sidebar">
 +
 
 +
<div class="fb-like-box" data-href="https://www.facebook.com/pages/IGEM-Copenhagen-2013/1393917120824679?fref=ts" data-width="250" data-show-faces="true" data-header="true" data-stream="true" data-show-border="false"></div>
 +
 
 +
<a class="twitter-timeline" href="https://twitter.com/iGEMCopenhagen" width="250" data-widget-id="366894070498484225" data-tweet-limit="3">Tweets af @iGEMCopenhagen</a>
 +
 
 +
</div>
 +
</body>
</html>
</html>

Latest revision as of 20:38, 27 August 2013