Open Shadowbox with predefined Object

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Open Shadowbox with predefined Object

mulderX
Is it possible to open Shadowbox with (ex.):

myPhotos={
        image:[
                'urlToImage1.jpg',
                'urlToImage2.jpg',
                'urlToImage3.jpg'
                ],
        title:[
                'Titel for Image1',
                'Titel for Image2',
                'Titel for Image3'
                ],
        ...(other options)
};

Shadowbox.open(myPhotos);

I like Shadowbox, but there's no option for initialising Shadowbox with predefined object.

Any solutions for the above thing?

thx...
Reply | Threaded
Open this post in threaded view
|

Re: Open Shadowbox with predefined Object

risp
Have you found a solution? I'm also looking for this functionality