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>documen t.write (window.history .length);</script>
Mozilla returns the error "window.his tory has no properties".
Extensive searching on internet gave no help, even Mozilla's own DOM
Reference says nothing about it:
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>documen t.write (window.history .length);</script>
Mozilla returns the error "window.his tory has no properties".
Extensive searching on internet gave no help, even Mozilla's own DOM
Reference says nothing about it:
Can anybody help me, and tell me how to emulate 'history.back() ' without
using the history object?
Thanks, Peter
Comment