This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
facebox /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Feb 11 14:56:33 -0800 2008 | |
| |
README.markdown | Thu Jun 04 00:42:43 -0700 2009 | |
| |
build_tar.sh | Mon Feb 11 14:56:33 -0800 2008 | |
| |
demo/ | Sat May 02 03:35:02 -0700 2009 | |
| |
facebox.css | Sat Feb 21 13:17:13 -0800 2009 | |
| |
facebox.js | Thu Jun 04 00:42:43 -0700 2009 | |
| |
facebox.min.css | Sat Feb 21 13:19:59 -0800 2009 | |
| |
facebox.min.js | Thu Jun 04 00:42:43 -0700 2009 | |
| |
images/ | Sat Feb 21 13:17:13 -0800 2009 | |
| |
index.html | Sun Feb 22 11:04:20 -0800 2009 | |
| |
jquery.js | Thu Feb 12 06:34:17 -0800 2009 | |
| |
minify.sh | Wed Feb 11 12:43:31 -0800 2009 | |
| |
releases/ | Mon May 05 11:08:59 -0700 2008 | |
| |
screenshots/ | Mon Feb 11 14:56:33 -0800 2008 |
README.markdown
Facebox
Demo: Facebox homepage or open index.html.
Need help? Join the Google Groups mailing list
Benefits compared to original
- Faster page load (does the heavy lifting when a facebox is opened and not at startup)
- Smaller file size (smaller code + minified using YUI)
- Locally testable (does not require you to host a server just to try locally)
- Gallery mode available
- Useable as modal dialog (additional mode that does not allow users to dismiss the box)
- Clean seperation between JS/CSS (no images/styles inside JS)
- Seperate centralize method to re-center the facebox externally
- No need to edit CSS (paths are set to images/facebox instead of /facebox)
- afterClose event is fired
- japanese close-label available
Installation
Download and unpack (use download button above), images go into /images/facebox , if not you can overwrite them in css.
Options
#name : default
noAutoload : false #do not generate facebox box at start, saves time (use when infrequently used)
opacity : 0
overlay : true
modal : false #do not allow the user to dismiss the dialog
imageTypes : [ 'png', 'jpg', 'jpeg', 'gif' ]
TODO
- add modal mode demo
- show loading during whole Ajax/Images load
Author
Original: defunkt
Enhancements: Michael Grosser







