View Full Version : DHTML Window - Browser Back Button Issue

06-15-2012, 05:59 PM
1) Script Title: DHTML Window Widget

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

3) Describe problem: I am using DHTML windows for my image gallery and the problem that I am having is with the browser back window. If you click on a thumbnail and the dhtml window opens and you click through the images, the browser records all of the dhtml windows but when you click the browser's back button, the dhtml window closes and when you keep hitting back button, the main page keeps loading with no dhtml window. This is really confussing to the user. I would either like when you hit the back button that it keeps the dhtml window open and goes through the dhtml windows that were open or, just have the back button not record all of the dhtml windows that have been open when a user clicks through pics. The second choice would be the best. I would perfer that the back button be disabled when the dhtml window is opened so that all of the clicks through the dhtml window images are not recorded.

06-15-2012, 07:31 PM
The problem only occurs if you click through the dhtml windows and then close the dhtml window and the hit the back button. After you close the dhtml window and hit the back button, you have to hit the back button as many times as dhtml windows that you have gone through without the dhtml windows showing.