From c531608e37665327185abd81513030307d192f39 Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Thu, 23 Dec 2010 15:54:29 -0500 Subject: [PATCH] [#166] more documentation --- plugins/flickr/popcorn.flickr.html | 1 + plugins/flickr/popcorn.flickr.js | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/plugins/flickr/popcorn.flickr.html b/plugins/flickr/popcorn.flickr.html index b1a17fa..0efd247 100644 --- a/plugins/flickr/popcorn.flickr.html +++ b/plugins/flickr/popcorn.flickr.html @@ -29,6 +29,7 @@

Popcorn Flickr Plug-in Demo

+

This plugin requires jquery

Flickr images will appear at 5 seconds and disappear at 15 seconds.

More Flickr images will appear at 20 seconds and disappear at 45 seconds.

diff --git a/plugins/flickr/popcorn.flickr.js b/plugins/flickr/popcorn.flickr.js index 6a5c828..3a2b91f 100644 --- a/plugins/flickr/popcorn.flickr.js +++ b/plugins/flickr/popcorn.flickr.js @@ -6,11 +6,17 @@ * Flickr popcorn plug-in * Appends a users Flickr images to an element on the page. * Options parameter will need a start, end, target and userid. + * Optional parameters are numberofimages, height, width, padding, and border * Start is the time that you want this plug-in to execute * End is the time that you want this plug-in to stop executing * Userid is the id of who's Flickr images you wish to show * Target is the id of the document element that the images are * appended to, this target element must exist on the DOM + * Numberofimages specify the number of images to retreive from flickr, defaults to 8 + * Height the height of the component, defaults to '50px' + * Width the width of the component, defaults to '50px' + * Padding number of pixels between images, defaults to '5px' + * Border border size in pixels around images, defaults to '0px' * * @param {Object} options * -- 2.43.0