ActionsDev

2 replies to this thread. Most Recent

twb716

23 Feb 2010, 10:21 pm

Questions about ScriptyLightbox action

I’m using the ScriptyLightbox action:

http://www.actionsforge.com/actions/view/153-scriptylightbox

A couple of questions:

1) How do I eliminate/change the border. I either don’t want it to be white, or would like to remove it altogether.

2) Is there a way to force a page size so that it will scroll? For example, I’d like to use a 700x200 lightbox effect, but the URL that I am loading always opens up huge.

3) Is there a way to add a custom scrollbar to a lightbox window?

Thanks. Cool script.

TB

quote

waltd

23 Feb 2010, 10:27 pm
  1. You would need to create styles that override the SL styles in the head of your page. Use the Safari Developer Tools to inspect the overlay while it’s open. Control click on the border, and see what element is creating it, then create a CSS style that has the same selector which turns the border off.

  2. No, not the way it’s written. Images which are larger than the browser window are auto-scaled down to fit the screen, and unless you are loading a foreign site (which forces SL to use an iframe) there should not be any scrolling involved.

  3. You can’t, really, because the scrollbars are only there if there’s an iframe, and those are not styleable in the normal browsers, only in IE.

Walter

On Feb 23, 2010, at 6:20 PM, twb716 wrote:

I’m using the ScriptyLightbox action:

http://www.actionsforge.com/actions/view/153-scriptylightbox

A couple of questions:

1) How do I eliminate/change the border. I either don’t want it to be white, or would like to remove it altogether.

2) Is there a way to force a page size so that it will scroll? For example, I’d like to use a 700x200 lightbox effect, but the URL that I am loading always opens up huge.

3) Is there a way to add a custom scrollbar to a lightbox window?

Thanks. Cool script.

TB

quote

Freeway user since 1997

http://www.walterdavisstudio.com

Back to Top

twb716

23 Feb 2010, 11:23 pm

Thanks, Walter. I’ve been using Shadowbox.js which allows all of those things:

http://www.shadowbox-js.com/

Really cool script, though. Thanks again.

TB

quote

FreeCounter