You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# simplebox.js
2
2
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.
4
4
5
5
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.
6
6
@@ -30,11 +30,12 @@ $(function () {
30
30
31
31
### Advanced
32
32
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:
34
34
35
35
```JavaScript
36
36
$('.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
0 commit comments