Results 1 to 3 of 3

Thread: How to link ...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769

    How to link ...

    Hi,

    How do I specify a link (in html) from my current page to the page that called it?

    example:

    I have a central page (MyCentralPage). On this page I have a single "back" link.

    I also have two external pages (External1, External2).

    If I start at External1 and goto MyCentralPage, the back link must send me back to External1. If I start at External2, the "back" link must send me back to External2.

    Thanks in advance.

  2. #2
    Lively Member Base's Avatar
    Join Date
    Aug 2001
    Location
    The Netherlands
    Posts
    65
    Isn't it something like this:

    javascript:history.back();
    Ok

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    If the HTTP_REFERER cgi variable is set, you can write a link to it via server-side scripting.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width