Linking

R

Raymond Alford

I am trying to determine the HTML code that returns the
cursor to the starting page after accessing another URL on
the world wide web. That is; if I create a table and
hyperlink a cell to another world wide web page I want to
get back to the web page I started from after I look at
the page accessed by th hyperlink.
 
T

Thomas A. Rowe

You have no control over this, unless you also own the site you are link to. Otherwise the user has
to use their browser's back button to get back to your site.

The best option is to open the link in a new window, then the user just need to close that window to
return to the same page on your site that they launch the link from.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
A

Andrew Murray

Do you mean <a href="#" onclick='history.go(-1);'>CLick here to go back</a>

The above is for a link within your own site; the only way to 'back track' from
someone else's site is the browser's back button.

When you say 'another page on the WWW' - are you referring to 1) other pages
you've created, or 2) that others have created?

If your answer is 1) above then use the above solution if it is 2) then you need
to just use your browser's back button. (or the 'back' button on your mouse if
you have one of the MS "intelli-mouse" range mice (or similar product from other
manufacturers - such as Logitech etc).
 
P

ptm

Raymond - I have a simular linking/hyperlink problem and am hoping that if
you find the answer to yours, the experts out there might help me with mine.
Can I have a hyperlink default to a top level site with the link defined by
how the site was accessed.
The problem is with a company extranet where the internal and external names
and IP addresses are different. Internally I can simply link to "site".
Externally the link needs to refer to "www.site.com". Yes the browser back
button will do it however there must be a way to accomplish the task with
language used in the hyperlink itself.
So Ramond - If you get a good answer for your question it might be
applicable to mine. Let's see what the experts have to offer.
 
T

Thomas A. Rowe

If all of the sites are under your control, and you can use a server-side script language such as
ASP, ASP.net, then you can have a return link generate to match the site the link came from by check
the referral value.

Otherwise the user has to use the browser's back button or you can open the link in a new window.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Top