On this map:
http://web.pacific.edu/documents/marketing/campus-map/version%202/stockton-campus-2.0.htm
I have an anchor at the top, and I want the page to ju
You have to check for hash before appending it. I did it with this,
window.location = ((location.href).indexOf('#') == -1 ? location.href + "#top" : location.href);