bungpeng Posted August 22, 2003 Posted August 22, 2003 I use Frameset in my application, now I add the "Back" button in one of my frame using script "history.back()". The problem is, I only want the back feature to be in that frame only and not the others. But the "history.back()" will also go back regardless of which frame. Anyone know how to solve this problem? (I am using IE6) Quote
*Gurus* Derek Stone Posted August 22, 2003 *Gurus* Posted August 22, 2003 Try passing the previous page the user viewed to the current page via it's query string or through a post back. Reimplementing a back button otherwise is simply poor practice. Quote Posting Guidelines
bungpeng Posted August 23, 2003 Author Posted August 23, 2003 But if I use query string or post back to pass my previous page, then I only can "back" 1 page? What if I want the "back" to go back more than 1 page? then it is quite complicated right? Quote
*Gurus* Derek Stone Posted August 23, 2003 *Gurus* Posted August 23, 2003 Yes, it would be more difficult. I fail to see why anyone would need to do this though. Can you explain your particular situation? Additionally, you really shouldn't be using frames with a server-side programming language. I know you'll probably throw a fit at me for saying this, but it needs to be said. Remember, I'm only mentioning this with the best intentions, not to insight a riot as has happened before. :) Quote Posting Guidelines
bungpeng Posted August 24, 2003 Author Posted August 24, 2003 I use this in my Help portion of my application, the "back" button just use for Help portion, not related to application 'history' Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.