467,136 Members | 1,328 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,136 developers. It's quick & easy.

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
  • viewed: 1009
Share:
2 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Chris | last post: by
3 posts views Thread by John Carnahan | last post: by
2 posts views Thread by Tom | last post: by
20 posts views Thread by Dan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.