• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes

Hi,

is it possible to dynamically set the pageheight to the currently visible viewport (Device-height minus navigation bar etc.). My publication is cut of on the bottom on iPhone 6 since Safari has its navigational bar. Chrome has even a bigger navigation bar

asked in how_to by (160 points)
    

1 Answer

+1 vote
 
Best answer

Update: The Viewport setting still does do this well, but Desktop Scaling does.

Use Fit to Height for Desktop Scaling, and Use Desktop Scaling for Mobile Viewport Zoom.


We've found that while setting the viewport width works quite well, setting a height via the viewport is poorly supported by browsers and has not proven reliable.

The best option would probably be to change the aspect ratio of your document.

answered by (172k points)
edited by
Thank you for your help. We figured out that if we use the Slider (horizontal) without "continous" scroll it works pretty well since the user is able to scroll around on the page.

Additional buttons help him navigating through the publication