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

Feedback on: irt.org FAQ Knowledge Base Q1316

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

Feedback on:
irt.org FAQ Knowledge Base Q1316

Sent by
john doe on August 09, 2000 at 17:34:17:

Worth:
Very worth reading

Comments:
Error in Q1316 code:
When you calculate the popup placement position based on the size of the original browser window and the popup window, you have the variables incorrectly swapped:
var topPos = (w-popW)/2, leftPos = (h-popH)/2;

It should be:
var topPos = (h-popH)/2, leftPos = (w-popW)/2;




Other feedback on 'irt.org FAQ Knowledge Base Q1316' - show all


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.