Auto size when using lightbox and slider

rob's Avatar

rob

22 Dec, 2012 01:18 PM

Hello,

Using the lightbox (colorbox) pop-up with the slider. How can i auto resize the lightbox AND slider depending on the content?
Resize should depend on the image (portrait / landscape images) and screen resolution.
The autoScaleSliderHeight/width don't work in the popup(?)

Any idea's?

  1. Support Staff 1 Posted by Dmytro Semenov on 22 Dec, 2012 08:32 PM

    Dmytro Semenov's Avatar

    Hello,

    Slider in lightbox is opened with help of third party script called ColorBox. You should chech its documentation about how to change size http://www.jacklmoore.com/colorbox

    Dmitry

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac