0 Replies Latest reply on Oct 24, 2012 4:56 AM by webtrekkBda

    Conditional Javascript

    webtrekkBda

      I am trying to use some conditional javascript that fires, when a page is seen on a tablet. So the folio has seevral pages, e.g. a magazine and each time the user sees a page the javascript should fire. So far I have managaed to just include some javascript on each page, e.g. an helloWorld alert, but it's always executed as soon as I start opening the document in the adobe content viewer, regardless whether I see the page or not. I have not found out how I can bind the javascript to an event, in this case swiping a page or seeing a page.

       

      First uqestion: Is that possible? Second Question: How?

       

      Thanks for all input,

       

      Benjamin