PDA

View Full Version : Onload window to align in centre


urbanrays
01-23-2009, 12:27 PM
Hi

I am using body onload to open my thank you box when the user clicks the submit button. The problem I am having is that it wont align in the centre of the screen

The code I have used is
<body onload="moveTo(center,center); resizeTo(380,300);">
I have also tried "align(center, center); with no joy

Thanks for any help people