Solved

Getting the web browser to display 'BACK' n pages.

Posted on 2000-04-28
1
193 Views
Last Modified: 2010-04-09
Dear Sir/Madam,
    Our web presence allows users to enter search terms and
then browse the results of this query of our database.
All pages come up in the same screen of the web browser.
The user may examine say 'n' pages of results before deciding
to refine the search. Currently to do this they would have to hit the
'back' button 'n' times to get back to the search page that held their
initial query. What I need is a button on our browse screen that
just automaticly inscructs the browser to display the 'n'th page
back from the current page. Is this possible?
Yours Allan.  
0
Comment
Question by:wrobel
1 Comment
 
LVL 8

Accepted Solution

by:
xabi earned 150 total points
ID: 2758644
You can use this:

<a href="javascript:history.go(-2)">Go back 2 pages</a>

or you can read this article about how to page the queries

http://www.4guysfromrolla.com/webtech/121298-1.shtml

xabi

PS: Tha URL is an ASP example.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Put shading on half of picture 8 42
How can I convert HTML files to .pdf files? 9 57
How to count in a table in php 22 36
ASP.net Fit 3 divs on screen side by side 3 26
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question