JRS: In article <11**********************@g49g2000cwa.googlegroups .com>
, dated Mon, 3 Oct 2005 07:51:33, seen in news:comp.lang.javascript,
wo******@gmail.com posted :
for some reason, when I do this...
var email= prompt("Enter the email address you want to send the test
to:","");
it's opening the prompt window in the top left of the screen. How can I
put it in the center?
I can put it in the centre by putting the top left corner of the
previously-active window just above the centre.
Equating screen size and window size can be a bad idea; they are
independent.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.