I don't know if this is might help u but if u don't want to call a setTimeout the only
way I can thnk of is to call a function in the parent window in the onload event of
the child window :
<html>
<head>
<title>Untitled</title>
<style>
body
{font-family:verdana;fotn-size:12px;background-color:#000000;color:#333333}
a {color:#666666}
</style>
<script>
popWin=function(){
win=open("javascript:void(0)","thewindow","width=400,height=400");
win.moveTo(0,0);
win.document.write("<HTML><BODY>bla</BODY></HTML>");
win.document.close();
win.focus();
win.onload=parent.doit();
}
doit=function(){
win.resizeTo(100,100)
}
</script>
</head>
<body>
<a href="javascript:void(popWin())">testing..</a>
</body>
</html>
ciao
Y
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev