A
Aaron
I am opening a page, appfile.aspx, with this:
Dim script As String
script =
"<script>window.open('appfile.aspx','NewPage','top=0,left=0');</script>"
Page.RegisterClientScriptBlock("MyScript", script)
I am resizing appfile.aspx with this:
<script type="text/javascript">
self.resizeTo(632,500);
window.focus();
window.name = 'newWin';
</script>
This works pretty nicely, but currently the browser opens at a much larger
size, and then is resized to 632x500. Does anyone know how to open the
browser with the correct dimensions?
Thanks
Aaron
Dim script As String
script =
"<script>window.open('appfile.aspx','NewPage','top=0,left=0');</script>"
Page.RegisterClientScriptBlock("MyScript", script)
I am resizing appfile.aspx with this:
<script type="text/javascript">
self.resizeTo(632,500);
window.focus();
window.name = 'newWin';
</script>
This works pretty nicely, but currently the browser opens at a much larger
size, and then is resized to 632x500. Does anyone know how to open the
browser with the correct dimensions?
Thanks
Aaron