0 Replies Latest reply on Oct 28, 2014 8:53 PM by Matthew-King

    I am having trouble implementing scripting functionality in an indesign template for a DPS project.

    Matthew-King

      Basically how should the interaction between inserted HTML and the CSS, JS applied for the HTML happen?

       

      I created plain HTML code which has text fields, buttons and the functions that perform some simple calculations. But when imported via Object>Insert HTML the HTML functionality was lost. I then tried creating and exporting an indesign template which contained all the buttons required for the calculation as a HTML file via File>Export option, added modified HTML code and then used Object>Insert HTML. But no luck.


      Is there a better way to import and/or how do we initiate a button to be used via scripting? (Eg: convert a image into a button in indesign, but.... how best to initiate a "onClick" function for the button created via Js or Jquery).