HighDots Forums  

Bookmark a history page?

Javascript JavaScript language (comp.lang.javascript)


Discuss Bookmark a history page? in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
harry
 
Posts: n/a

Default Bookmark a history page? - 06-06-2004 , 11:57 AM






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



Reply With Quote
  #2  
Old   
Randy Webb
 
Posts: n/a

Default Re: Bookmark a history page? - 06-06-2004 , 01:38 PM






harry wrote:

Quote:
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/


Reply With Quote
  #3  
Old   
Ray Morgan
 
Posts: n/a

Default Re: Bookmark a history page? - 06-06-2004 , 06:26 PM



"harry" <a (AT) abc (DOT) com> wrote:

Quote:
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/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.