Forum Moderators: open

Message Too Old, No Replies

navigation using history.go( )

way to load set history file for user?

         

sssweb

2:50 pm on Feb 10, 2006 (gmt 0)

10+ Year Member



I have an image gallery that proceeds like a tour from one gallery to the next. On each gallery page, I will have 'Next Gallery' & 'Previous Gallery' links. I'm wondering if there is a way to load the entire gallery tour into the user's history file, so that I can simply code the nav buttons as <a onClick="history.go(1)">Next</a> & <a onClick="history.go(-1)">Back</a>, instead of having to code each link to the specific page.

Or is there a better way to handle the nav all together?

DrDoc

4:06 pm on Feb 10, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



History
is a browser object controlled by the browser. It is based entirely upon the actual path taken by a user before getting to any given page. It can not be controlled or scripted to determine which pages exist in the browser history.