Michal Čihař schrieb:
and second: the queryframe is only introduced for the querywindow? so if the querywindow doesnt need this frame anymore we can get rid of this?
my solution would be:
replace ANY window names with crypted! (window hijacking)
left frame gererates window object querywindow
var querywindow = open(...);
every access required to the qerywindow will got through this frame
frames[0].querywindow...
access from the querywindow will use opener
opener.frames[0] ... the left frame opener.frames[1] ... the phpmain frame
Isn't queryframe reloaded sometimes? You'd lose querywindow reference in this case.
its bind to the window/frame, not to the document