More multiBox updates
Here’s a few…
1. New option: ’showControls’. This will turn off the controls.
2. New option: ‘offset’. This is an object containing x and y offsets for the box relative to it being centered.
3. New option: ‘fixedTop’. This options allows you to specify a fixed top position to all boxes to open to.
4. New option: ‘openFromLink’. This says if the box should open from the link thats clicked or from the center of the window.
5. Bug fix: the problem with movies or music still playing when closed or moved to the next item is now fixed.
i’ve also added a hidden iframe to the box so it will go over dropdown menus etc in IE6 and i’ve also added one to the overlay script.
now at version 1.3
if there is anything else that people would like let me know.
Hi Phat,
can I load multibox from a iframe? But multibox load in the entire page, outside the iframe.
Excuseme for me english
hi there! Great stuff, finally got it working on MT 1.2, but when i scroll down a page, and click on an image, the overlay doesn't lay over the whole part of the page im viewing.
if you know what i mean
when im at the top of the page i get the full overlay, but scrolling down will only partially overlay the page…
thanks!
Thanks for a great script! I think I have discovered a bug, however. I have the thumbnails generated dynamically, with a link below each thumb to download a high-res version(so far so good). When the multi-box is active the download link appears in the html area, but link is not updated with the image. In fact all of the links point to the last item in the dynamic array(link 12 of 12). Any ideas as to what's causing this?
I have it working … at least as far as the lightbox itself but it will not load the flv or the wmv that I want it to.
http://www.ywcatoronto.org/women_distinction/2009/wod2009_recipients.2.htm
Anyone have an idea why?
Dave
Great widget. It would be great to have the 'MultiBoxContainer' recenter on window re-size or scroll. I've tried to modify the code to accomplish this to no avail.
junray said…
@anonimous
to group images do this:
give different names to the class (mb) and use the same name in the string used to call the function:
4 example, using a class named "ring" the string would be
…new MultiBox('ring', …
I did this and it works great, the problem I'm facing now is that the descriptions are the same. So lets say I have group one and group two. Each image description starts with div class="multiBoxDesc mb1", the next image description starts with div class="multiBoxDesc mb2" and so on for each image in each group. I gave each group it's own class id. In the script I gave each group it's own call, such as:
new MultiBox('group1', …
new MultiBox('group2', …
The problem NOW is that although they are separated in groups, the descriptions will be the same for each mb1, for each mb2, etc. etc. How can I separate it so that each group has it's OWN set of description? I'm totally lost. Please help!!
absolutely great! thank you.
I want to play a quicktime movie and it works fine with safari but firefox does only show the box without playing the movie. There is no error displayed.. just white color. Any help for this? thx.