INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

link or button for going back to previous page - but to the link originally clicked

link or button for going back to previous page - but to the link originally clicked

link or button for going back to previous page - but to the link originally clicked

(OP)
Hello all,

I'm not sure if my query belongs here or in Javascript....

I have a long list of items and some are linked to further information on that item.

What I want is when a person has finished reading the further information, they click "back" but rather than just to the previous page, I want it to go to the point where they had clicked for the further info.

Is such a thing possible?

Many thanks

thank you for helping

____________
Pendle

RE: link or button for going back to previous page - but to the link originally clicked

Technically yes. You would need to make all your links named anchors, and the back button be a link also with the anchor name.

In your list of items:

Add Anchors for said items:

CODE

<a name="anchorname">more code here</a?
[//code]
And in our info page, the back link:


[code]
<a href="backtopage.html#anchorname">GO BACK</a> 

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech

RE: link or button for going back to previous page - but to the link originally clicked

(OP)
Many thanks for that. I'll have a think and see what I want to do - there are over 5000 pages of "additional information" !!!

thank you for helping

____________
Pendle

RE: link or button for going back to previous page - but to the link originally clicked

This being the HTML section you have no choice other than to hard code the solution

javascript (forum216: Javascript) or whatever server side code is available will give more possibilities.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: link or button for going back to previous page - but to the link originally clicked

Chris is indeed correct. If you are using some type of server side language, you can dynamically create the anchors, and send the anchor name to the detail page in the URL to also dynamically create the back link.

This of course would fall outside the scope of static HTML.

You will have to look into how you are creating these 5000 pages of additional information.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech

RE: link or button for going back to previous page - but to the link originally clicked

Why not just display the information in a new screen without any links in it. When they have finished reading the info, the close the screen and are back to where they started.

Keith
www.studiosoft.co.uk

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close