3 Replies Latest reply on Jul 15, 2013 11:14 AM by Dave Merchant

    Links properties

    Grimzoid

      Hello everybody!

      I use JS script which create  links on each page of the current document.

       

      var linkWidth = 377, linkHeight = 18;

      for (var i = 0; i < this.numPages; i++)

      {

      var cropBox = this.getPageBox("Crop", i);

      var linkRect1 = [444,linkHeight,linkWidth,5];

      var mLink = this.addLink(i, linkRect1);

      mLink.setAction("this.pageNum = 0");

      mLink.borderColor = color.red;

      mLink.borderWidth = 1;

      }

       

      Links takes you to the first page. The problem is that links doesnt works in iOS and android.

      How can i resolve this problem?