Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

zoom to fit width

Avatar

Level 2
I am dealing with a document that has 3 different masterpages all of different sizes. Yes this is necessary as it turns out. My problem is that when navigating from one page to another, the page that is navigated to does not fill the screen the way I need it to. I'm looking for a JavaScript that will work in LiveCycle in the same fashion that -



this.zoomType = zoomtype.fitW;



- works in Acrobat. Is there a script that will allow my pages to "fit to width" in LiveCycle when navigating from one to another?



Thank you.
1 Reply

Avatar

Former Community Member
On the enter event of each page use this command:



event.target.zoomType = zoomtype.fitW;