Jibeji
Posts: 2
Joined: Wed Mar 07, 2018 8:23 am

How to take full browser's height?

Wed Mar 07, 2018 12:24 pm

Hello,
I am using highslide on my website and, on some cases, the <body> height does not exceed 400 pixels.
My concern is that when the photo is displayed, if its height exceeds body's height, the photo is truncated.
I tried to play with hs.minHeight without any success.
How can I tell Highslide to take the full browser height?

If you want to see by yourself, please
Go to https://www.radioamateur.org/annonces/
Enter "2023" in the small (top right) search box
Click on "Chercher" then on the camera icon

Thanks for your help.

MisterNeutron
Posts: 430
Joined: Sun Aug 18, 2013 11:20 am

Re: How to take full browser's height?

Wed Mar 07, 2018 2:20 pm

Highslide JS won't display beyond the size of the <html> and <body> tags - it doesn't know that there's any more browser viewport available beyond those. Add to your CSS:

Code: Select all

html, body {height: 100%;}

Jibeji
Posts: 2
Joined: Wed Mar 07, 2018 8:23 am

Re: How to take full browser's height?

Wed Mar 07, 2018 2:27 pm

Of course!
Thanks a lot.

Return to “Highslide JS Usage”