Multibox with Ajax

lightbox that supports images, flash, video, mp3s, html

Multibox with Ajax

by black_is_beautiful on Tue Feb 10, 2009 8:08 pm

Hello,

I use multibox with multiple dynamic load in Ajax, but when I load a new content in a div the new images can't acess to Multibox. When I click on these, it's just a link to the file.

Can somebody help me please ?

Thanks
black_is_beautiful
 
Posts: 1
Joined: Tue Feb 10, 2009 8:05 pm

Re: Multibox with Ajax

by Dax on Wed Feb 11, 2009 6:50 pm

I'm having the same problem and it pretty much renders the multibox useless for serious AJAX development.

Can someone please help us get past this and share the solution (if it exists) with the community?

Thank!

Dax
Dax
 
Posts: 1
Joined: Wed Feb 11, 2009 6:48 pm

Re: Multibox with Ajax

by marg on Tue Feb 17, 2009 8:17 pm

In the file you load using Ajax, just place the following code, for a multibox called "box3" for instance:
Code: Select all
<script language="javascript">
   var box3 = {};
   window.addEvent('domready', function(){box3 = new MultiBox('prompt', {useOverlay: true, showControls:false});});'red'});});
</script>   
marg
 
Posts: 3
Joined: Fri Dec 26, 2008 10:50 pm


Return to multibox

Who is online

Users browsing this forum: Alexa [Bot], MSN [Bot] and 2 guests