Hi,
I recently re-designed a web page. As part of the re-design, I used eight named anchors to allow people to quickly jump to specific categories on the page.
The problem is that when someone clicks on a category link, in the URL bar the link changes from www.mysite.com/mypage.htm to www.mysite.com/mypage.htm#category1
Normally, this isn't a huge deal. However, on one particular long-established page this is causing a few issues since people click a category, scroll around and then click a link on my page that leads off-site, then hit their browsers back button to return to my page. The problem is that when people come back to my page, they often aren't going back to precisely where they were due to the named anchor in the url.
My thought was to use javascript to strip out the named anchor from showing at all in the URL bar. Thus, when someone clicks on a named anchor on the page, the url shown in the browser doesn't change.
Any ideas on how someone who knows less about javascript than the back side of the moon can do this?
Thanks
Jim