Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

Links properties

$
0
0

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?


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>