Team:UNIK Copenhagen/tweet bar

From 2013.igem.org

(Difference between revisions)
(Undo revision 90634 by Idapida (talk))
 
(28 intermediate revisions not shown)
Line 3: Line 3:
<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 id="fb-root"></div>
 +
<script>(function(d, s, id) {
 +
  var js, fjs = d.getElementsByTagName(s)[0];
 +
  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>
+
<style type="text/css">
 +
.fb-like-box{
 +
border-bottom: 1px solid #E0E0E0;
 +
margin-bottom: 20px;
 +
}
.sidebar{
.sidebar{
-
width: 240px;
+
border-left: 1px solid #E0E0E0;
-
margin: auto;
+
float: right;
 +
width: 270px;
 +
margin: 0px -25px 0px 0px;
 +
padding: 0px 0px 0px 10px;
z-index:5;
z-index:5;
-
top: 60px;
 
display:block;
display:block;
position: relative;
position: relative;
-
padding: 20px 20px 60px 20px;
 
-
background: rgba(255, 255, 255, 0.6);
 
}
}
</style>
</style>
 +
<body>
<div class="sidebar">
<div class="sidebar">
-
<p> I write something here</p>
 
-
<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>
 
 +
<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