I have the following (simplified) HTML code:
<div>
..stuff...
</div>
<div class="subtitle" id="charts-title">
<h3>Charts for d/m/y</h3>
</div>
<div class="content" id="charts">
...various charts...
</div>
<div>
...more stuff...
</div>
So, #charts-title is not at the top of the page, nor #charts at the bottom, they are somewhere in the middle of the page. Now, when the user scrolls down, #charts-title goes out of the screen and then I'm seeing charts with no date information. I want to keep #charts-title visible only if #charts is in view.
Thanks for any help, Hector.