Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q1557

irt.org | About | Feedback | 3136 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1557

Sent by
Bradford on September 06, 2001 at 12:24:42:

Comments:
The given code in the answer is completely wrong. It should look something like "sx = <screenX>; sy = <screenY>; cx=document.body.clientWidth cy=document.body.clientHeight; if(window.moveTo) { window.moveto((sx-cx)/2, (sy-cy)/2) }

This pseudocode needs checks for browser versions and additional code for obtaining the size of the screen.
I forgot the Javascript to obtain screenX and screenY.




Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.