Link to home
Start Free TrialLog in
Avatar of waggert
waggertFlag for United States of America

asked on

History manipulation - Way to block a page from the History?

I have a 2 frame frameset.  1 main window and a left nav window.  Upon an external event Javascript code is sent to the main frame which then runs and changes the leftnav frames page.  The problem is when the Back button is pressed the leftnav window goes back but not the main frame window.  Back has to be pressed a 2nd time in order to make the main frame go back.  I would like for the leftnav window to stay where it's at and the main frame to go back when the Back button is pressed the 1st time.

Is there a way to programmatically block the leftnav page update from going into the history?
ASKER CERTIFIED SOLUTION
Avatar of Nushi
Nushi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Nushi
Nushi

i forgot the window
window.location...

nushi.
Avatar of Michel Plungjan
window not needed, but did you actually test that statement?
Avatar of waggert

ASKER

Nushi, that worked, thanks!  (the replace method that is)
Thank you.

Nushi.