title: How would that be possible to have more than one ShadowBox links on one page?
body: <p>I'm using Shadowbox on my page: <a href="http://www.shadowbox-js.com/index.html" rel="nofollow">http://www.shadowbox-js.com/index.html</a></p>
  
  <p>I have 2 links on 2 separate web user controls on the same page which should open 2 different pages.</p>
  
  <p>I'm using the below function to initialize my shadowbox:</p>
  
  <pre><code>function InitializeShadowbox() {           
              Shadowbox.init({
                  onOpen: shadowboxOpen,
                  onFinish: shadowboxFinish,
                  onClose: shadowboxClose,
                  modal: true
              });
              // this will cause the shadowbox to setup itself again after a partial porstback.
              Shadowbox.setup();
          }
  </code></pre>
  
  <p>But the problem is that Shadowbox.init() function is a static function on a static class so apparently it's not possible to have more than one shadowbox link with different initializers?</p>
  
  <p>I wish I could just create a new instance of shadowbox, name it and work with it.</p>
  
  <p>I'd need to initialize it uniquely, something like below but it doesn't work:</p>
  
  <pre><code>function InitializeShadowbox() {           
              Shadowbox[customLink].init({
                  onOpen: shadowboxOpen,
                  onFinish: shadowboxFinish,
                  onClose: shadowboxClose,
                  modal: true
              });
              // this will cause the shadowbox to setup itself again after a partial porstback.
              Shadowbox[customLink].setup();
          }
  </code></pre>
  
  <p>Update:
  custom initialization added.</p>
  
  <p>Thanks</p>