Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Back and Previous Links

Status
Not open for further replies.

robert89

Technical User
Nov 19, 2003
125
CA
Does anyone know if and/or how I can create text links
Back
Previous

that write themselves in a menu based on the page history.

For example, I open help page 1, click on a link to view another topic - help page 2.

When help page 2 loads, since there is a history, it will write the "Back" using the history.go(1) object i.e. link based on the browser history.

My aim is to have two links that work like the back and forward buttons on a browser.

Help appreciated.
Bob
 
if this were even possible, i don't think you'd get the desired affect you want. clicking the back button (or a back link) will bring you to the previous page, but it won't necessarily reload it. therefore, that previous page will have no way of knowing that you'd been to another page, and therefore would not generate your "next" button.

what functionality are you creating? could you just use static back and next buttons?



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
I have help pages that popup in windows. The popups have been stripped of all their properties (just about). So a menu has been created with some text links. I have static back and forward and was asked if it was possible to have them only appear when there was a page to go back to or a page to go forward to.

Does this make it a bit clearer?



 
oops, I wasn't clear. Am using history object to go back one or forward one depending on where the visitor is coming from with in the help files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top