473,394 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Bookmark a history page?

I have a search form that returns a search results list.

The user then selects a result which displays full info for that selected
item. The item then has 6 different pages all showing related info for that
item. So they could have moved 1,3,6 etc... pages after the result screen.

I want to provide a link that they can click anywhere within those page that
takes them back to the results page - so the search does not have to be
re-executed.

So using the history object I need a way of remembering the search results
page then set the current page back to it. A sort of bookmarking!

Any ideas?

thanks

harry
Jul 23 '05 #1
2 1161
harry wrote:
I have a search form that returns a search results list.

The user then selects a result which displays full info for that selected
item. The item then has 6 different pages all showing related info for that
item. So they could have moved 1,3,6 etc... pages after the result screen.

I want to provide a link that they can click anywhere within those page that
takes them back to the results page - so the search does not have to be
re-executed.

So using the history object I need a way of remembering the search results
page then set the current page back to it. A sort of bookmarking!

Any ideas?


That would require being able to know where in the history trail it was
at, and there's no practical way of knowing that.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/
Jul 23 '05 #2
"harry" <a@abc.com> wrote:
I have a search form that returns a search results list.

The user then selects a result which displays full info for that selected
item. The item then has 6 different pages all showing related info for that
item. So they could have moved 1,3,6 etc... pages after the result screen.

I want to provide a link that they can click anywhere within those page that
takes them back to the results page - so the search does not have to be
re-executed.

So using the history object I need a way of remembering the search results
page then set the current page back to it. A sort of bookmarking!

Any ideas?


The only reliable way to accomplish this would be server-side, whereby
you could include a link to the GET request that returns the results
page.

--
Ray Morgan
http://Fares-Fair.com/
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Targa | last post by:
After I submit a form from a popup window, I use the following code to close the popup and refresh the parent window. <a href="#" onclick="window.opener.location.reload();self.close();return...
6
by: Chris | last post by:
I have been learning C and want to write a program and need someone to point me in the write direction. I want to write a program to store all my webpage bookmarks in possibly one file. I want it...
3
by: John Carnahan | last post by:
How would I accomplish the following ? Navigate to a bookmark on a page from a routine in the code behind. ---- html code bookmark1 (someplace on the page... is this an htmlanchor?) ??...
2
by: Tom | last post by:
I have an ASP.NET page called Login; however, I would like it to have a different 'default' name when someone attempts to bookmark the page. I.E. When they bring up my page and then try to add a...
20
by: Dan | last post by:
Is there a way to obtain the last page visited? I don't want to go to that page, I just want to be able find out what page they came from, the url of that page. Is this possible?
8
by: Ed Jay | last post by:
I want to use history.go() to navigate between my previously loaded pages. I'm looking for a way to trigger a function call when a page is accessed using history.go(). Is there an event generated?...
4
by: zzapper | last post by:
Hi, I use an internal bookmark <form method="post" action="${form_action}#mark1"> to return to the correct place in the page. In case of an error I would wish to return to the top of the...
3
by: Raistlin Majere | last post by:
Not really, but how can I protect my privacy from bookmark icon updating? Can you open the code to the author of the Stealther extension?
10
Ajm113
by: Ajm113 | last post by:
Making a History Page for BIG Sites Intro: Ok, let's say after a while your website has grown massive. We're talking search engine, forum and video hosting -- you've got a LOT of content. And you...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.