Team:University College London/fbphotosbytudelft

From 2012.igem.org

(Difference between revisions)
Line 55: Line 55:
fb_photos</html>{{{album|135033906513449}}}<html> = function (response) {
fb_photos</html>{{{album|135033906513449}}}<html> = function (response) {
   // template parameters
   // template parameters
-
   var n = </html>{{{count|6}}}<html>;
+
   var n = </html>{{{count|6}}}<html> - 1;
   var animate = </html>{{{animate|true}}}<html>;
   var animate = </html>{{{animate|true}}}<html>;
   var j=0;
   var j=0;

Revision as of 22:38, 20 June 2012


Intro

This is a template page that lists all pictures from a facebook album.

Either use this template or give credits to the TU Delft team! If you have questions, contact me: Jelmer Cnossen

How To Use This

  • Find a facebook album ID to display, using fb_listalbums
  • Put the generated code from fb_listalbums in your wiki, and modify it.

Parameters


{{:Team:TU_Delft/fb_photodisplay|album=ID|count=Number of images|css=CSS class}}
Parameters: 
album: Facebook album ID
count: Number of pictures to display
css: CSS class for each image
callback: Javascript callback function name, callback(container)


loading facebook photo's...