Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: JS "Back" code
From: Colin Moock
Date: Sun, 10 Jan 1999 21:28:33 GMT

flasheratshocker [dot] com,Internet writes:
>Hello,

>I was wondering if there was a way using JavaScript to send someone to the
>last page they were on, no matter what it was. (The person would click an
>image and be sent to their last destination.)

history.back()

But note:
In Version 4 of Netscape on Windows and Macintosh, the history.back() method
executes, but the actual history of the browser is not updated (ie. suppose
that a user is on page "c", and we issue the history.back() command. The
browser displays page "b" but does not remove the the entry for "c" from its
history,
meaning that clicking on the BACK button will return the user to page "b"
rather than the desired page "a")

-colin

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  FLASH: Multiple Embedded Sounds, Rod Graves

Replies
  FLASH: JS "Back" code, Rod Graves

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]