Template:Team:Amsterdam/ernst/scripts

From 2012.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 25: Line 25:
     });
     });
</script>
</script>
-
 
<!-- JQuery menu animations -->
<!-- JQuery menu animations -->
Line 31: Line 30:
<script type='text/javascript'>
<script type='text/javascript'>
function navmenu(){
function navmenu(){
-
$(" #submenu ul ul ").css({display: "none", height:'auto'}); // Opera Fix
+
$(" #navmenu ul ul ").css({display: "none", height:'auto'}); // Opera Fix
var config = {     
var config = {     
Line 43: Line 42:
};
};
-
$(" #submenu ul li").hoverIntent(config);
+
$(" #navmenu ul li").hoverIntent(config);
}
}
   
   
Line 51: Line 50:
</script>
</script>
-
<!-- Facebook script -->
+
<!-- Facebook RSS Feed Processor -->
-
<script type='text/javascript'>
+
<script type='text/javascript' src='http://www.zazar.net/developers/jquery/zrssfeed/jquery.zrssfeed.min.js'></script>
-
  window.fbAsyncInit = function() {
+
<script type='text/javascript' src='scripts/fb-feed-collector.js?action=raw'></script>
-
    FB.init({
+
-
      appId      : 'YOUR_APP_ID', // App ID
+
-
      channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
+
-
      status    : true, // check login status
+
-
      cookie    : true, // enable cookies to allow the server to access the session
+
-
      xfbml      : true  // parse XFBML
+
-
    });
+
-
 
+
-
    // Additional initialization code here
+
-
  };
+
-
 
+
-
  // Load the SDK Asynchronously
+
-
  (function(d){
+
-
    var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
+
-
    if (d.getElementById(id)) {return;}
+
-
    js = d.createElement('script'); js.id = id; js.async = true;
+
-
    js.src = "//connect.facebook.net/en_US/all.js";
+
-
    ref.parentNode.insertBefore(js, ref);
+
-
  }(document));
+
-
</script>
+
</html>
</html>

Latest revision as of 13:05, 12 September 2012