Team:Groningen/Templates/facebook
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <!-- | + | <!-- each page with jquery needs to have this line, it will include all the jquery calls.Just include do not change--> |
+ | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script> | ||
- | < | + | <!-- For some more info about this script: http://www.codehandling.com/2013/02/facio-20-infinite-facebook-fanpage.html--> |
- | |||
+ | <!-- CSS of this plugin, this piece of code changes the color of the account --> | ||
- | < | + | <style media="screen" type="text/css"> |
- | + | #facio span{ | |
- | + | color:black !important; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | <!-- | + | </style> |
+ | |||
+ | <!-- end of CSS of this plugin --> | ||
+ | |||
+ | <head> | ||
+ | |||
+ | <script src="http://code.jquery.com/jquery-latest.js"></script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | // var pageUrl = "https://www.facebook.com/Igem2013Groningen"; | ||
+ | var pageUrl = "https://www.facebook.com/Igem2013Groningen"; | ||
+ | |||
+ | var facioWidgetWidth = 300; | ||
+ | var facioWidgetHeight = 400; | ||
+ | |||
+ | function displayFacio() { | ||
+ | $('#facio').empty().append(' loading ...'); | ||
+ | pageUrl=$('#pageUrl').val(); | ||
+ | //alert(blogUrl); | ||
+ | |||
+ | onLoadFacio(); | ||
+ | } | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | </head> | ||
+ | <body> | ||
+ | |||
+ | |||
+ | <div id="facio"> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | <script src="https://2013.igem.org/Team:Groningen/Scripts/jqueryfacebook?action=raw&ctype=text/javascript"></script> | ||
+ | |||
+ | </body> | ||
</html> | </html> |
Revision as of 15:34, 23 July 2013