Hey Arie.
Got it solved. With your suggestion, I did a little research and came up with the following:
Where checkbrowser is:Code:<a href="BookList.html#A" target="BookList" onclick="checkbrowser();">A</a> | <a href="BookList.html#B" target="BookList" onclick="checkbrowser();">B</a> | <a href="BookList.html#C" target="BookList" onclick="checkbrowser();">C</a> | : : :
The only thing is that in IE and Safari, the window flashes when one of the hash links is clicked. A bit annoying, but much, much better.Code:function checkbrowser(){ browsername=navigator.userAgent; xx=document.documentElement.scrollTop if (browsername.indexOf("Safari")!=-1) xx=document.body.scrollTop; setTimeout('window.scrollTo(0,xx)',0); }
If you figure out a way of getting around the screen flashing, let me know. Otherwise, I think I'm good to go.
Thanks for the help.
Jim



Reply With Quote

Bookmarks