Some newbie questions for y'all

0 views
Skip to first unread message

Kyrre

unread,
May 7, 2008, 4:28:09 PM5/7/08
to facebox
Damn this Facebox is HOT!!

On to my questions:

1. If I use a remote.html, do I need faceboxHtml in facebox.js?

2. Furthermore, can I make closeImage part of my remote.html, and
split it into a text link (close) and an image (X)? That way the text
will be consistent with the rest.

3. I don't need the borders, I want everything but my Facebox to go
dark, real Lightbox style! How do I do this?

Much obliged.

Big ups to Chris and Mindy :-)

Kyrre

Chris Wanstrath

unread,
May 7, 2008, 7:34:40 PM5/7/08
to fac...@googlegroups.com
On Wed, May 7, 2008 at 1:28 PM, Kyrre <kyr...@broadpark.no> wrote:

> 1. If I use a remote.html, do I need faceboxHtml in facebox.js?

Yes.

> 2. Furthermore, can I make closeImage part of my remote.html, and
> split it into a text link (close) and an image (X)? That way the text
> will be consistent with the rest.

Yes, just do this somewhere: either $('#facebox .footer').remove() or
$('#facebox .footer').css('display', 'none'); (or do it in real css).

> 3. I don't need the borders, I want everything but my Facebox to go
> dark, real Lightbox style! How do I do this?

You can set the opacity level of the overlay using
$.facebox.settings.opacity. For the borders, you can change them in
the CSS.

--
Chris Wanstrath
http://github.com/defunkt

Reply all
Reply to author
Forward
0 new messages