I have a website that uses hashes to open/close some tabs and layers on the current page. The reason behind using hashes is, that if a user visits another page via a link and th
Maybe prevent the default behavior and make the jump to the hash with javascript?
$("a").click(function(event) { $("html,body").scrollTop($(this.hash)[0].offsetTop) event.preventDefault(); });