]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#166] more documentation
authorScottDowne <sdowne@learn.senecac.on.ca>
Thu, 23 Dec 2010 20:54:29 +0000 (15:54 -0500)
committerScottDowne <sdowne@learn.senecac.on.ca>
Thu, 23 Dec 2010 20:54:29 +0000 (15:54 -0500)
plugins/flickr/popcorn.flickr.html
plugins/flickr/popcorn.flickr.js

index b1a17faf0691d7ab660a49d115b43b6fd0e00206..0efd2476720255aa9fc275014ae0c1e506c55dd4 100644 (file)
@@ -29,6 +29,7 @@
 </head>
 <body>
   <h1 id="qunit-header">Popcorn Flickr Plug-in Demo</h1>
+  <p>This plugin requires jquery</p>
   <p>Flickr images will appear at 5 seconds and disappear at 15 seconds.</p>
   <p>More Flickr images will appear at 20 seconds and disappear at 45 seconds.</p>
   <div>
index 6a5c82820c70659f6804ead5ae0090b03555f554..3a2b91fe44caa555646c6d7d9eeeff2b683bfa87 100644 (file)
@@ -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
    *