Pre-requisite knowledge:
In my website's footer, there are links that redirect user to the website's company page, say www.example.com/company.html#first .
Clicking this link would trigger the default browser behavior i.e. it will redirect to www.example.com/company.html#first and bring into view the div with id = "first".
But in my company.html's dom, there is no div with id = "first" (I have got my reasons due to which I can't provide the id to the concerned div but that's a separate issue). Moreover, I am using the url's hash in some functionality due to which I'm bound to keep it to #first.
Question:
So, my question would be if I can bring a different div into view - the parent element (which has an id available) of the div I failed to provide the id for as mentioned above on the click of the footer link. Suggestions are welcome as well!