0 Replies Latest reply on Dec 7, 2012 3:07 AM by KevinBrianBird1966

    Can you attach JavaScript to XML tags?

    KevinBrianBird1966

      Hi Everyone,

       

      Is it possible to attach JavaScript to a tag in InDesign, so that when InDesign formats the page, the JavaScript is triggered?

       

      A simple example might be conditional formatting within a table. Attach JavaScript to the <entry> tag, which iterrogates the value of the cell (in this case a number) and changes the background cell colour based on the value of the cell.

       

      Kind regards.

       

      --

      Kevin