Team:TU Delft/fb photodisplay

From 2010.igem.org

(Difference between revisions)
Line 12: Line 12:
  count: Number of pictures to display
  count: Number of pictures to display
  css: CSS class for each image
  css: CSS class for each image
 +
callback: Javascript callback function name, callback(container)
</noinclude>
</noinclude>
Line 63: Line 64:
   }
   }
   $("#photobox" + albumID).html(html);
   $("#photobox" + albumID).html(html);
 +
  var callbackname = "</html>{{{callback|}}}<html>";
 +
  if (callbackname != "")
 +
    window[callbackname]($("#photobox"+albumID));
}
}

Revision as of 10:30, 28 July 2010


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

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


{{:Team:TU_Delft/fb_photoscroll|album=ID|animate=Animate?|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...