It is currently Mon Sep 24, 2018 6:52 am Advanced search

How to take full browser's height?

Technical support, bug reports, feature requests and more.

How to take full browser's height?

Postby Jibeji » Wed Mar 07, 2018 2: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.
Jibeji
 
Posts: 2
Joined: Wed Mar 07, 2018 10:23 am

Re: How to take full browser's height?

Postby MisterNeutron » Wed Mar 07, 2018 4: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%;}
User avatar
MisterNeutron
 
Posts: 421
Joined: Sun Aug 18, 2013 1:20 pm

Re: How to take full browser's height?

Postby Jibeji » Wed Mar 07, 2018 4:27 pm

Of course!
Thanks a lot.
Jibeji
 
Posts: 2
Joined: Wed Mar 07, 2018 10:23 am


Return to Highslide JS Usage

Who is online

Users browsing this forum: No registered users and 0 guests