At 8:13 AM -0800 3/18/99, Pierce T. Wetter III wrote:
>>> How does one make a "Return To Previous Page" link? I would think it would
>>> just be a matter of getting the "referer" URI/URL.
>
> Javascript is an easier way to do this then WO. The browser already
>knows what the previous URL was so its just one line of Javascript to
>do this. Its something like "history.back()".
We've got a "no javascript" directive... along with a few others. We need
to be compatible with set top boxes and not all handle javascript.
> On the other hand, it depends on exactly why you want to do this.
>For UI reasons, you might want to have a "back to Movies" from the
>talent editor, or some other kind of "conceptual previous page".
If someone goes to the About, Help, or Contact page from anywhere in the
site (they are universal jump points on our site) I'd like the user to go
back to their previous page instead of some fixed point.
I prefer the javascript method, but can't rely on it.
mark
---------------------------------------------------------------------------
Mark F. Murphy, Director Software Development <mailto:[EMAIL PROTECTED]>
Tyrell Software Corp <http://www.tyrell.com>
PowerPerl(tm), Add Power To Your Webpage! <http://www.powerperl.com>
---------------------------------------------------------------------------
Member of Families Against Internet Censorship: rainbow.rmi.net/~fagin/faic