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

Controls Bar and Viewport

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

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

Absolutely perfect ;)
Thx so much MisterNeutron.
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Controls Bar and Viewport

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”