This is the data for the popular Lightbox Clones Matrix.
Want to add your own script to the list? You've come to the right place!
All you have is to fork this repository, add your script data, and make a Pull Request.
The data is just a PHP array of arrays, it's really stupid simple.
Add your own script data in a array of the following form:
array(
'name' => '', // the name of your script
'url' => '', // the url of your script
'size' => '', // the size of the Javascript part only
'lib' => '', // library dependency & size
'totalsize' => '', // total Javascript size
'images' => '', // support for images? Yes/No
'sets' => '', // support for sets of images? Yes/No
'other' => '', // other objects supported? Some text
'class' => '', // list of space separated tags from:
// nolib jquery proto moo yui images sets iframes inline ajax video flash
),
name
: just the name of the scripturl
: the URL of the script page, with presentation, demo and download linksize
: size in kb of your Javascript, excluding any image, CSS or HTML bundled with itlib
: any Javascript dependency, eg Mootools, jQuery, and the uncompressed sized of such library in kbtotalsize
: total uncompressed Javascript size, in kbimages
: must beYes
orNo
to indicate support for imagessets
: must beYes
orNo
to indicate support for sets, or groups, of imagesother
: free text to indicate support for other elements. Keep that bit purely informative, no "marketing" stuff hereclass
: a list of space separated tags summing everything up, to be chosen from and only from the following list:
nolib
if the script has no library dependency. Otherwise, pick one or more ofjquery
,proto
(PrototypeJS),moo
(Mootools) oryui
(Yahoo UI)images
if the script supports imagessets
if the script supports sets of imagesiframes
if the script supports iframesinline
if the script supports showing inline elementsajax
if the script supports showing elements fetched via an Ajax requestvideo
if the script supports showing video elementsflash
if the script supports showing Flash stuff
array(
'name' => 'My Super Script',
'url' => 'http://code.google.com/p/mysuperscript/',
'size' => '10 k',
'lib' => 'jQuery (94 k)',
'totalsize' => '104 k',
'images' => 'Yes',
'sets' => 'Yes',
'other' => 'Iframes and Youtube videos',
'class' => 'jquery images sets iframes video',
),
The easiest way will probably be to copy another script array and edit infos to suit your own script.
The order of elements within each array does not matter.