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 …
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?
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.
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:
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.
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…
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…
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)?
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)?