Re: window.location.hash in firefox



"Active Discovery Development" wrote:

anyone knows why "window.location.hash" produces a back button
in firefox?

window.location.hash is a string property, not a method. It "produces" nothing. As for why *assigning* something to it results in unexpected behavior...

Specification
DOM Level 0. Not part of any standard.

http://developer.mozilla.org/en/docs/DOM:window.location



i tried this one in IE and Safari but it doesnt give a back button..
when i click the back button the window isnt changing anyway..

is there a way to stop firefox producing back button?

Possibly, but there is no standard for the window object, so you will take your chances with consistency. This looks like it has promise, though:

http://developer.mozilla.org/en/docs/DOM:element.scrollIntoView
http://msdn2.microsoft.com/en-us/library/ms536730.aspx

I could only speculate on Opera or Safari support.



--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use of this email address implies consent to these terms.

.


Loading