Scripty Lightbox Size

Why does SL change the size off ALL boxes,
when I change the size from only one box.

Concrete:

  • 2 Boxes 480 x 285
  • 1 Box 480 x 350

Its not possible to do that. All boxes are
either 480 x 285 or 480 x 350 even if I
change the size …


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Because no matter how many different instances of the Action you apply
to the page, only one of them will actually create the one and only
JavaScript function that causes the lightbox effect to happen. And
worse, there’s really no way to tell which one that will be at all.
The only solution is to set all of them to the same size (and make all
the videos or Flash animations the same size). Images get auto-sized
without any trouble or input through the Action, but it’s impossible
to do the same for Flash and QuickTime and other plug-in based content.

Walter

On Jan 4, 2011, at 12:15 PM, TomP wrote:

Why does SL change the size off ALL boxes,
when I change the size from only one box.

Concrete:

  • 2 Boxes 480 x 285
  • 1 Box 480 x 350

Its not possible to do that. All boxes are
either 480 x 285 or 480 x 350 even if I
change the size …


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks walt. So far so good.
But how can I set the whole background from the lightbox to black?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Are you referring to the area inside the picture area, or the outer
“overlay” area? I think there was a post earlier today that explained
the CSS code you need to add to your page to control the inner picture
area.

Walter

On Jan 4, 2011, at 1:25 PM, TomP wrote:

Thanks walt. So far so good.
But how can I set the whole background from the lightbox to black?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

yes indeed. All “values” are changeable e.g. the range 0.0 (fully transparent) to 1.0 (fully opaque) for the opacity. But he had some problems with thin white lines on top and bottom of the “media”, so not sure if this is his request.

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

@Thomas: exactly.

Reason: I have 3 Trailers on that website. 2 x 16:9, 1 x 4:3.

Sure, there is a chance to set the lightbox to 16:9. BUT the 4:3 lightbox is then also 16:9.

If i set the size to 4:3, I have white bars on the top and on the bottom of the 16:9 trailers.

If I could fill them up with black, the problem could be solved. Maybe …


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Forgot to say something. Sorry.

YES the solution on the other post from Thomas Kimmich works perfect. Thanks again.

BUT it does’nt fill the background of the whole lightbox. “Behind” the movie or picture within.
(So somehow the two posts stick together in a way.)


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

but exactly the #lightwindow_loading should do this job. Forgot to mention that you may hack !important after all the values of your tag styles.

So you finally need:

name: background-color
value: black !important

I just gave it a try and it worked for me pretty well.

One way to control each of your lightbox-sizes could be to handle the script without the action. It’ll mean a bit of handcoding.

Is there any chance to reproduce this scenario? Is it possible to grab those movies from somewhere so I would insert them by hand in my actual lightwindow childsplay:

http://www.kimmich-dm.de/prototype/lightwindow.html

I don’t want to make promises that I later can’t handle (or has even the same effect as the use of the action). Maybe I dig some different movie sizes out.

Finally it could be a nice training on the proper use of protaculous-action (and observer) cause I still haven’t understood to make those to what they are:

the most important tools if it comes to non actionized scripts and snippets.

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thomas, when I define it as RED it is red until the movie 16:9 movie loads. Then the - in this case - red bars appear.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi again

I am having problems with multiple scripty lighbox items on the same page. Even when I have the identical size, they don’t work correctly. (I have the latest version of everything). I also tried Scripty Lightbox2, didn’t work either. Sure would be nice if it could be fixed…

Here is the link to the page: Sporsterspecialisten - en lång ärorik historia

Thanks!
Zignar


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you’re loading non-photo content, you have to enter the dimensions you want the playback window to be in the Action. You have to enter the same dimensions in each of the instances of the Action on the page, because it’s nearly impossible to predict which of the Actions will run last in the publishing process, and only the last one gets to write the JavaScript. Your script is still showing the defaults of 640 x 480, so I’m guessing you didn’t enter the dimensions everywhere.

Walter

On Mar 9, 2012, at 4:27 AM, Zignar wrote:

Hi again

I am having problems with multiple scripty lighbox items on the same page. Even when I have the identical size, they don’t work correctly. (I have the latest version of everything). I also tried Scripty Lightbox2, didn’t work either. Sure would be nice if it could be fixed…

Here is the link to the page: Sporsterspecialisten - en lång ärorik historia

Thanks!
Zignar


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi again

I read that info in an earlier thread, and tried it. Did not help: the lightbox opened to full screen, (or more). I now fixed it by putting both [link]items in the same HTML box with only one Action, (640x480). I would prefer to be able to have several action. Any ideas to why it still does not work on my page(es)?

Z


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I didn’t look too deeply into your Vimeo code – perhaps that’s an issue. Does it work if you link to a local photo? How about a local MOV or SWF file? I know I published a recipe for using it with YouTube’s iframe embed code, does Vimeo offer anything similar? Here’s those instructions, maybe you can adapt…
http://www.freewaytalk.net/thread/view/77964#m_78034

Walter

On Mar 9, 2012, at 10:43 AM, Zignar wrote:

Hi again

I read that info in an earlier thread, and tried it. Did not help: the lightbox opened to full screen, (or more). I now fixed it by putting both [link]items in the same HTML box with only one Action, (640x480). I would prefer to be able to have several action. Any ideas to why it still does not work on my page(es)?

Z


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options