jselpr
Posts: 2
Joined: Tue Apr 14, 2015 6:22 pm

maxHeight and maxWidth

Hi!
I edit my site with Dreamweaver. Highslide works fine but doesn't recognize maxWidth and maxHeight against recognizes minWidth and minHeight. I try with highslide.js, highslide-full.js,highslide-with-gallery.js, highslide-with-html.js.
Any idea?
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: maxHeight and maxWidth

I don't quite understand the question. Highslide JS expands the image as large as it can, given the size of the viewport (though it won't make the image larger than the JPG's actual dimensions). Are you trying to limit it in some way? If so, why?

You could constrain the expander by employing the useBox technique seen here: http://highslide.com/examples/gallery-in-box.html

On the subject of script versions, just stick to highslide-full.js or highslide-full.min.js, which is the same thing, only packed tighter. It's not a large script, so there's no point trying to figure out which bits and pieces of the whole thing you actually need.
jselpr
Posts: 2
Joined: Tue Apr 14, 2015 6:22 pm

Re: maxHeight and maxWidth

You understood the question perfectly, thank you for your response.

Return to “Highslide JS Usage”