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?