This commit is contained in:
ScottDowne 2010-12-23 15:54:29 -05:00
Родитель b39c12c429
Коммит c531608e37
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -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
*