none wrote:
Hi,
I have a picturegallery that opens in a new window as a defined size,
but I would like to open the popup in the middle of the screen. Some
browsers do it like that, others don't... Any ideas how I can define the
position for the windows to open in?
Here's my recommendation. Make your secondary window resizable, with
scrollbars if needed (that is if content overflows requested window
dimensions) and with presence of statusbar. Don't try to position the
window; let the user do that. OTOH, make your requested popup re-usable
so that only and only 1 popup will be used to view all your picture
gallery images. Usability studies have shown that users don't like to
manage multiple windows, browser application instances at the same time.
If images are of different sizes, then you can still make your *script*
open only 1 popup at a time; if the user wants to open all the images in
distinct popups, then your page coding should allow that. Finally I
assure you that there are a few usability issues which are much more
important to deal with than position of popups and which often irritates
users or which make users leave sites using requestd popups: these are
main issues which are usually not taken into consideration.
DU