Monthly Archives: March 2006

Script for Acrobat to set links with pageno as parameter

I was looking for a solution to automatically set HTTP-links as transparent rectangles of the size of every page of a given pdf-document containing the pagenumbers as parameter. This is a nice way to link normal webpages and PDF-docs. I used it in a project for an online catalogue which runs as a ‘web-app’ from CDROM with PHP and mySQL. The links on the PDF pages were all fulltext indexed and the coordinates (catalog number + chapter number + page number) were used to link to a list of products displayed on those pages. Users could then load products into their ‘online’ shopping baskets.

AcroJS /JavaScript for Acrobat to set the links

AcroJS / JavaScript to remove links from pages