That's because the close() function right now doesn't really stop any of the content within the window from loading, just hide the window. This is out of consideration for the show() function.
A quick but less than ideal solution right now is to add the line:
Code:
if (closewinbol){ //if custom event handler function returns true
if (t.state!="minimized") //if this window isn't currently minimized
dhtmlwindow.rememberattrs(t) //remember window's dimensions/position on the page before closing
t.style.display="none"
t.contentarea.innerHTML=""
}
The line in red is new inside dhtmlwindow.js. It should empty the window contents when it is closed.
Bookmarks