P
Peter Bremer
Hi all,
I've written this little piece of code, which doesn't seem to work in
Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found
some indication that Netscape 6+ has the same problem. Internet Explorer 6
and Opera 7 have no problems with it.
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'
'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<script>document.write (window.history.length);</script>
Mozilla returns the error "window.history has no properties".
Extensive searching on internet gave no help, even Mozilla's own DOM
Reference says nothing about it:
http://mozilla.org/docs/dom/domref/dom_window_ref25.html
Can anybody help me, and tell me how to emulate 'history.back()' without
using the history object?
Thanks, Peter
I've written this little piece of code, which doesn't seem to work in
Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found
some indication that Netscape 6+ has the same problem. Internet Explorer 6
and Opera 7 have no problems with it.
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'
'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<script>document.write (window.history.length);</script>
Mozilla returns the error "window.history has no properties".
Extensive searching on internet gave no help, even Mozilla's own DOM
Reference says nothing about it:
http://mozilla.org/docs/dom/domref/dom_window_ref25.html
Can anybody help me, and tell me how to emulate 'history.back()' without
using the history object?
Thanks, Peter