justinmind-logo
 
Upvote 2

Grow container and page height dynamically

Solved Victor Conesa 8 years ago

I am trying to build some accordion-like interactions with dynamic panels that allow me to show more content as needed. The issue I am facing is that I have to set the container height to the max possible that will accommodate to show the contents without cutting off. This however causes the page to look bad because on load and by default, there is this massive white space at the bottom of the page above the footer.


Is there anyway that you can dynamically set the height of the container so that it grows and then pushes everything down as needed (other containers, footer, etc)?

Replies (2)
photo
1

Hi Bassel,


Take a look at this tutorial: http://www.justinmind.com/support/exp...


Regards,


Lidia

photo
1

Thanks for sharing the tutorial. However, it still doesn't explain if there is a way to dynamically grow the container and the page. As seen in the tutorial, the surrounding box is fixed and so the user would need to scroll within it to see the content :(

Leave a Comment
 
Attach a file