Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q1316, August 09, 2000 at 17:34:17:

You are here: 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

©2018 Martin Webb