cellophanecore
September 12th, 2003, 10:49 AM
What I am looking to do is have a page pop up to a fixed size window and then have:
toolbar=no,status=no,menubar=no,location=no,scroll bars=yes,resizable=no
I know how this can be done if the link is clicked but I want this when someone
types in this page direct it will perform the function I mentioned. Below is
the script I am using for the window to go to a fixed size.
<script language="javascript">
var X_coord = 0
var Y_coord = 0
width = screen.width;
height = screen.height;
X_coord = width - 640;
window.resizeTo(640, 400);
window.moveTo (X_coord, Y_coord);
</script>
toolbar=no,status=no,menubar=no,location=no,scroll bars=yes,resizable=no
I know how this can be done if the link is clicked but I want this when someone
types in this page direct it will perform the function I mentioned. Below is
the script I am using for the window to go to a fixed size.
<script language="javascript">
var X_coord = 0
var Y_coord = 0
width = screen.width;
height = screen.height;
X_coord = width - 640;
window.resizeTo(640, 400);
window.moveTo (X_coord, Y_coord);
</script>