Not a Member Yet,
Click here to Register
How do you like the new design?






ID: 39
Viewed: 3419
Added: Nov 23, 2001
Version:
Snippet uploaded by: snippet
Written By: Unknown
Demo: View Demo



User Rated at: 0 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

to make a popup that is only 2/3 of the total screen width and height and positions it in the middle

<!---Head--->
<script> 
function resize() {
h=(window.screen.availHeight * 2/3);
w=(window.screen.availWidth * 2/3);
t = (screen.Width) ? (screen.Width-w)/2 : 0;
l = (screen.height) ? (screen.height-h)/2 : 0;
resizeTo(w,h)
moveTo(t,l)
}
</script>

<!---Body--->


 <body onLoad="resize()";>


No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.


Replying to a Comment...


Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2017 snippetlibrary.com All Rights Reserved. Conditions