Solved

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

Posted on 2000-04-28
1
171 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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now