> 1. Default path.
>
> I often have a site's directory structure that looks like:
>
> ./index.html
> ./jquery/jquery.js
> ./facebox/facebox.js
>
> This directory structure of course causes the facebox border images as
> well as the closeImage to break. This is obviously easy to fix by
> specifying $.facebox.settings.closeImage but the border images seemed
> to only be controllable from facebox.css.
>
> It would be helpful to have a setting like closeImage that could be
> used to specify a default path or something along that line.
This has bitten me a few times too, it could be useful.
> 2. Hide closeImage
>
> I will likely use facebox to modally display a form and graphically a
> close image in the lower right doesn't work for me. I can't just say
> settings.closeImage=''. It is easy to work around by creating a
> single pixel image and using that but it would be cleaner to be able
> to specify closeImageHide=true.
Maybe a settings.footer = false option?
> 3. Overlay.Click calls #facebox.close();
>
> It would be nice to be able to disable the overlay click-close action
> or at least be able to hook into the facebox.close event and specify a
> function which would return true or false to indicate whether the
> close event should finish and close the facebox or remain open.
$.facebox.settings.overlay = false;
Or, try binding to 'facebox.close' and returning false. That might
not work for custom events, I'm not positive.
--
Chris Wanstrath
http://github.com/defunkt