summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.md b/README.md
index fec12eb..28d51f7 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
wedge
=====
-
-A drop-dead simple lightbox written in Typescript
+A drop-dead simple lightbox written in Typescript. [Demo](http://matthewsot.github.com/wedge/Demo)
Wedge can display images, YouTube videos, and divs easily.
@@ -38,4 +37,9 @@ There are even more complicated animations (like ScaleAnimation and RotateAnimat
And if you don't like a default, you can customize just about any part of the lightbox through parameters:
```
initWedge(link: 'some-div-id', type: 'div', title: 'title', animator: new ScaleAnimation(), exitOnEscape: true, doAutoPosition: true, opacity: 0.8, allowExit: true, overlayId: 'overlay-id', contentId: 'content-container-id');
-``` \ No newline at end of file
+```
+
+## Dependencies
+jQuery is the only requirement to use Wedge.js, which contains the basic lightbox and two animations (FadeAnimation and SlideAnimation).
+
+If you'd like to use the animations in Animations.js (such as ScaleAnimation and RotateAnimation), you'll need to add the jquery.gsap plugin to your site. Instructions for that can be found [here](http://www.greensock.com/jquery-gsap-plugin/). \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback