Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
is it a bug in opera7? (not tested on opera6)
it works under both in ie and mozilla!
the only way i can do is:
onload="test.location.href = '/blank.html'; alert(self.test); alert(self.test.document)"
[edited by: Xuefer at 3:04 am (utc) on April 20, 2003]
the above example expect the error
and another problem:
the first alert gives me "object inaccessable"
i have to setTimeout('alert(self.test)......', 1);
to get self.test object
Still not sure what you want to do by saying 'src="about:blank" '. Do you have an html file called blank.html? If yes, then use 'src="blank.html" '. If not, and you are trying to dynamically create the pop-up, just remove the 'src="about:blank" '. The bug isn't with Opera; Opera is just less forgiving of errors.
The need for a timeout seems strange... Onload() should only fire once the frameset has completed loading all documents in its frames. It seems it is firing prematurely.