Skip to content

Commit 07211c5

Browse files
committed
Update README.md
1 parent 24c4842 commit 07211c5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# simplebox.js
22

3-
simplebox.js is a lightweight lightbox plugin (724 bytes) that is easy to modify or extend to fit your needs. This plugin is intended to be a quick, responsive, efficient.
3+
simplebox.js is a lightweight lightbox plugin (936 bytes) that is easy to modify or extend to fit your needs. This plugin is intended to be a quick, responsive, efficient.
44

55
The idea behind this plugin was to make the process of setting up a lightbox painless. My experience with finding and setting up lightbox plugins has been pretty bad. The plugins I've come across almost always have too many features. simplebox.js is designed to have just one feature: lightboxing. It's responsive out of the box and allows only a few crucial settings.
66

@@ -30,11 +30,12 @@ $(function () {
3030

3131
### Advanced
3232

33-
The plugin comes with three options. Yes, just three. Think of this as a feature and not a drawback! If you want to access these options, call the plugin like this:
33+
The plugin comes with two options. Yes, just two. Think of this as a feature and not a drawback! If you want to access these options, call the plugin like this:
3434

3535
```JavaScript
3636
$('.slb').simplebox({
37-
fadeSpeed: 300 // default is 400ms, applied to all fade animations in the plugin
37+
fadeSpeed: 300, // default is 400ms, applied to all fade animations in the plugin
38+
darkMode: true // default is false
3839
});
3940
```
4041

0 commit comments

Comments
 (0)