I have a menu bar at the top that has links as below:
<a href="#1">Football</a>
<a href="#2">Cricket</a>
<a href="#3">Rugby</a>
<a href="#4">Tennis</a>
I have a fixed menu bar that is 50px in height. When the links are clicked, the headings are hidden behind the fixed menu bar. Is it possible to have the headings be displayed 50px lower (so they can show) when its corresponding link is clicked.
html:
<h2 class="menuheading" id="1">Football</h2>
...
<h2 class="menuheading" id="2">Cricket</h2>
...
<h2 class="menuheading" id="3">Rugby</h2>
...
<h2 class="menuheading" id="4">Tennis</h2>