GlouGlou
Posts: 2
Joined: Sun Jun 25, 2017 3:58 pm

Controls Bar and Viewport

Wed Jun 28, 2017 12:19 pm

Hi all,

I use the slideshow with a relative to viewport with full screen.
But I have a little problem :
When the image is really big (or when moving the image), the controls bar is hiding by the image :(
Is it possible to have the controls bar all the time visible with this setting ?

Thx for your help.

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

Re: Controls Bar and Viewport

Wed Jun 28, 2017 12:27 pm

Set hs.marginTop or hs.marginBottom (depending upon where you're putting the controlbar) to something like 15 + the height of the controlbar. That will prevent the popup from covering it.

But if the user moves the image, there's nothing you can do to prevent having the controlbar covered.

GlouGlou
Posts: 2
Joined: Sun Jun 25, 2017 3:58 pm

Re: Controls Bar and Viewport

Wed Jun 28, 2017 8:05 pm

Absolutely perfect ;)
Thx so much MisterNeutron.

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

Re: Controls Bar and Viewport

Wed Jun 28, 2017 8:11 pm

You're welcome!

BTW, you'll run into the same thing if you put a thumbstrip on the page, with the same solution. ;)

Return to “Highslide JS Usage”