I have a script which hides (display:none) certain divs in the list on page load. Div contents represents description of a book, and the whole list is some sort of bibliography.
You can use the window.location.hash to see the hash value. From there you can getElementById(hashValue) and show it.
window.location.hash
getElementById(hashValue)