• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 11 years ago
  • Updated over 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

zerobox

Demo | Issues

Lightweight, animated lightbox plugin for Jquery JavaScript library.

Installing

Using Bower:

$ bower install zerobox

Usage

Getting Zerobox up and running is easy. The plugin only requires that you include its source on your pages and give its method a link it will use to invoke the lightbox. A basic ligthbox image link could look something like the following:

<a class="zerobox" href="image.jpg">
    <img src="image-thumb.jpg" />
</a>

After which you can target the .zerobox class with the plugin:

$('a.zerobox').zerobox();

Any image linked by a.zerobox gets displayed in a lightbox when the link is clicked.

Building

Zerobox uses Grunt to run tasks. To get started, first make sure you have npm and Grunt installed. Once you have the base requirements, navigate to the the directory you have checked out or downloaded Zerobox and run npm to install the project's dependencies:

$ npm install

After which you can run Grunt tasks to do testing, releasing and building:

$ grunt [task]

Where [task] is the task you want to run. Available tasks are jsdoc, test, build and release:[major|minor|patch|build].

License

Zerobox is licensed under the MIT license. See the full MIT license file.

Bitdeli Badge

More Repositories

1

immutability-helper

mutate a copy of data without changing the original source
TypeScript
5,174
star
2

exercises

Some basic javascript coding challenges and interview questions
JavaScript
4,174
star
3

safetest

TypeScript
1,307
star
4

wavy

use ~ in require and import calls
JavaScript
379
star
5

nip

Node Input/output Piper
JavaScript
291
star
6

webwork

Execute Web Workers without external files
JavaScript
229
star
7

redux-await

Manage async redux actions sanely
JavaScript
155
star
8

jsan

handle circular references when stringifying and parsing
JavaScript
90
star
9

redux-create-reducer

Publishing createReducer from http://redux.js.org/docs/recipes/ReducingBoilerplate.html#generating-reducers
JavaScript
84
star
10

weak-key

Get a unique key for an object ( mainly for react's key={} )
JavaScript
76
star
11

ts-cookbook

A collection of delicious Typescript recipes
TypeScript
44
star
12

screenliner

node util for writing to regions on the terminal
JavaScript
41
star
13

deact

react inspired DOM element template engine
JavaScript
33
star
14

TinyRouter.php

Simple Router For PHP
PHP
26
star
15

w8

Give promises and thunks timeouts
JavaScript
25
star
16

run-every

run a command over and over
JavaScript
23
star
17

crlf

get and set line endings - Pull Requests welcome
JavaScript
23
star
18

react-mocha-starter

Scaffolding for a react project with mocha testing in node and phantom
JavaScript
18
star
19

nester

Get and set properties from deeply nested arrays
JavaScript
16
star
20

zerovalidate

A minimalist javascript form validator
JavaScript
12
star
21

redux-browserify

it can be done
JavaScript
12
star
22

redux-standard-action

A human-friendly standard for Redux action objects.
JavaScript
11
star
23

jq2

extract json data
JavaScript
10
star
24

wttt

When This Then That
JavaScript
10
star
25

zan

test object types (similar to React.PropTypes)
JavaScript
7
star
26

httpies

httpie with extra headers
JavaScript
7
star
27

poel

Create a pool of cluster workers.
JavaScript
6
star
28

react-compose-wrappers

TypeScript
6
star
29

typeaheadObj

Twitter Bootstrap Typeahead With Objects
JavaScript
6
star
30

git-tree-maker

JavaScript
6
star
31

is_googlebot.php

PHP
4
star
32

zerocomplete

JavaScript
4
star
33

tweet-editor

HTML
3
star
34

mithril-todo-msx

JavaScript
3
star
35

fizzbuzz

JavaScript
3
star
36

reglob

require a glob
JavaScript
3
star
37

will-they-sue

list the license of all your deps
JavaScript
3
star
38

ccolors

Cli Colors, a slightly improved version of npm's colors
JavaScript
3
star
39

member-berry

Memoize a function of n args with O(n) recall and no memory leaks.
JavaScript
3
star
40

Db.class.php

PHP
2
star
41

react-track-events

TypeScript
2
star
42

babel-plugin-hodor

JavaScript
2
star
43

zerolay

JavaScript
2
star
44

jquery.save

jQuery.save
2
star
45

xurl

A simple url parser
JavaScript
2
star
46

es6-module-boilerplate

boilerplate for es6 -> es5 module
JavaScript
2
star
47

logen

lodash like library for generators
JavaScript
1
star
48

talks

HTML
1
star
49

Timer.class.php

PHP
1
star
50

CacheSQL

CacheSQL class
PHP
1
star
51

co-phantom

JavaScript
1
star
52

tuplizer

Powerful typescript types to manipulate tuples
TypeScript
1
star
53

wrt

A simple react router
JavaScript
1
star
54

torah

Python
1
star
55

webcam-switcher

TypeScript
1
star
56

promise-utils

Useful utils to use native promises like bluebird
JavaScript
1
star
57

isIE10

javascript test if browser is IE10
JavaScript
1
star
58

reflux-create-reducer

Publishing createReducer from http://rackt.github.io/redux/docs/recipes/ReducingBoilerplate.html
JavaScript
1
star
59

m2

Lightweight Mocha Clone
JavaScript
1
star
60

node-webkit-stater

JavaScript
1
star
61

rxjs-props

Like Promise.props but for rxjs
JavaScript
1
star
62

octopress-test-case

Shell
1
star
63

toopl

Typescript tuple
JavaScript
1
star
64

github-tab-resizer

JavaScript
1
star
65

react-override

TypeScript
1
star
66

require-es6

Require es6 version of module if available as `main-es6` prop in package.json
JavaScript
1
star