Results 1 to 2 of 2

Thread: DHTML Window Close Button/Back Button

  1. #1
    Join Date
    Jun 2012
    Thanked 0 Times in 0 Posts

    Default DHTML Window Close Button/Back Button

    1) Script Title: DHTML Window Widget

    2) Script URL (on DD):

    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.

    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.

  2. #2
    Join Date
    Sep 2007
    The Netherlands
    Thanked 266 Times in 258 Posts
    Blog Entries


    That's why I always use instead of an iframe if the external file contains links (especially when those links cannot be controlled). The explanation of the problem is that the browser cannot distinguish between history entries belonging to the main page(s) and entries belonging to an iframe.
    I'm afraid this problem cannot be solved. (But who knows?).
    Arie Molendijk.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts