Forum Moderators: open
I would like to keep in place what's in the middle of the screen so that the content seems to expand from the middle of the screen. The problem is that the elements that get unhidden aren't consistent, some paragraphs don't change size while others triple in size so just using scrollTo based on proportions isn't working, especially when you look at content towards the bottom.
Any suggestion on how to achieve this? The individual DIVs are generally never higher than the screen size so I'm thinking it would be nice to target the DIV closest to the middle and make it stay there with something smart.