Second shadowbox on same page with other options

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Second shadowbox on same page with other options

Sven Burkert
This post was updated on .
Hello,

I hope somebody is around here to help me with my problem:
I'ld like to have two shadowboxes on my page, one for images, one for a google maps map.
The second one should have other options, e.g. event "onOpen" should be set:
Shadowbox.init({
  onOpen: function(){alert('ok')}
});
So how can I create a second Shadowbox object with different configuration?