From 65dafe9a115b771c631ac0881d6ad7fed11c18bb Mon Sep 17 00:00:00 2001 From: Bradley Grzesiak Date: Sat, 15 Oct 2011 13:01:00 -0500 Subject: [PATCH] Add caveat to warn against creating your own #facebox element. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8496067..e1e1e76 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,10 @@ You can give the facebox container an extra class (to fine-tune the display of t text +### Caveats + +Do not give any DOM element of yours an id of `facebox`. This library creates its own div with an id of `facebox` and you will get unpredictable effects if there are two `#facebox` elements. + ## Contact & Help If you have questions, feel free to ask on the [Google Groups Mailing List](http://groups.google.com/group/facebox/). Alternatively if you find a bug, you can [open an issue](http://github.com/defunkt/facebox/issues).