0 Replies Latest reply on Feb 23, 2011 2:28 AM by boboartspace

    Javascript ShadowBox Call from Indesign

    boboartspace

      Hi!

       

      I have the following document from where I load my exported InDesign SWF object:

       

      <script type="text/javascript" src="shadowbox.js"></script>

      <script type="text/javascript">

      Shadowbox.init();

      function ShowInfoBox(url)

      {

          Shadowbox.open({

              content:    url,

      player:     'iframe',

              title:      "Fan Academy Info",

              height:     350,

              width:      600

          });

       

      }

      </script>

      In Adobe Captivate I just added a hyperlink with the url javascript:ShowInfoBox('www.adobe.com'); and the function
      was called from the document. With InDesign nothing happens. How does this work in indesign.
      Thanks,
      Alexander