Team:UCLondon/Templates/Navigationv3

From 2012e.igem.org

(Difference between revisions)
Line 2: Line 2:
  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
  <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></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_US/all.js#xfbml=1";
 +
  fjs.parentNode.insertBefore(js, fjs);
 +
}(document, 'script', 'facebook-jssdk'));
 +
</script>
   <div id="navigation">
   <div id="navigation">
Line 267: Line 277:
   </style>
   </style>
-
<div id="fb-root"></div>
+
 
  <script type="text/javascript">
  <script type="text/javascript">
-
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_US/all.js#xfbml=1";
 
-
  fjs.parentNode.insertBefore(js, fjs);
 
-
}(document, 'script', 'facebook-jssdk'));
 
-
 
-
 
-
 
-
 
-
 
       //$("#action").html( $(".left-menu > ul").children().has('a') );
       //$("#action").html( $(".left-menu > ul").children().has('a') );

Revision as of 20:59, 15 October 2012