A few days ago I answered this question, which was eventually closed as off-topic since it does not provide any code but an external link to the website that had the issue.
The author's problem in this case was that they didn't know where their issue was and thus could not possibly know which part of their code to post, expect from the entire code of the webpage.
I understand why it is closed as off-topic, but I want to ask how one would properly post such a question and avoid it getting closed?
affix.js
component of twitter-bootstrap