I have a fixed top bar – so if you click on an internal link (<a href="#xxx">) it gets obscured. Is there any way for me to force (via Jquery/JS) so that any #xxx link gets automatically offset Z pixels?
As requested, example link: http://examine.com/supplements/Creatine/#ref32
It’s better to handle this via html/css changes as opposed to using javascript to correct the issue. Place your content in a scrollable div with a margin at the page top as a placeholder for the fixed content. If you post your html then more specific advice can be given.
Here is an example:
http://jsfiddle.net/mrtsherman/CsJ3Y/3/
html