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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with JavaScript

Status
Not open for further replies.

MSVB

Programmer
Dec 17, 2002
3
IN
In Javascript Top.bottomFrame.histroy.go(-1) for previous link in history and top.bottomFrame.histroy.go(1)
for next link in history.
My question is if there is no Previous Link in history then what history.go(1) will do?


 
Have you tested it to see, you obviously have the code there that works correct?

I think you have a typo. You are asking if there is no Previous Link in history then what history.go(1) will do?

The history.go(1) moves forward 1 location, and the history.go(-1) moves backward 1 location. If you were to do history.go(2) you would move to the 2nd location.

If you came from a page that did not have these links on your page, then the first you come to if you click on the previous, then it should take you back to the location where the links were not there.

Have you posted a thread in the javascript forum. I'm sure that you can better help there. Did this answer your question? Thanks _______________________________
regards,
Brian

AOL IM: FreelanceGaines

AG00280_.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top