Topic: Responsive height? [SOLVED]
Hi!
Page here:
http://www.kareinen.fi/tuotteet.php?pag … npaa-korut
I have problems when trying to make the height responsive. So when I resize the browser window smaller the gallery should go less tall. This doesn't happen without problems.
I have this in PHP-page:
<!--START JUICEBOX EMBED-->
<script src="galleriat/jbcore/juicebox.js" type="text/javascript"></script>
<script>
new juicebox({
configUrl : "galleriat/uudet_tyot.php",
containerId : "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: 'rgba(248,248,248,1)'
});
</script>
<div id="juicebox-parent">
<div id="juicebox-container"></div>
</div>
<!--END JUICEBOX EMBED-->
In CSS are following lines:
#juicebox-parent{
height:400px;}
#juicebox-content{
width:100%;}
In gallery's settings file:
galleryWidth="100%"
galleryHeight="100%"
When I change #juicebox-parent{height:400px} to max-height:400px gallery goes to as tall as the window is.
Any quick help? :)