Hm, just played around with problem and found out that IE has the peculiarity that it loads & executes this code when the page is loaded.
Firefox seems to refuse to do this and wants a tweaking like this:
I suppose this won't work any other way, right?
Joined: Mar 22, 2005
In my test I didn't put the "#" in front of the hash name. Try if it works without it.
Firefox executes the code that you put directly into the script tag, but probably at a time when that hash mark doesn't exist, because the page hasn't been rendered yet. [ October 22, 2007: Message edited by: Ulf Dittmer ]
subject: How to get window.location.hash to work in Fire Fox?