K
K
I am trying to achieve the following - can anyone help?
Before you jump on me for wanting to interfere with the user's windows -
it's' for a corporate intranet where we can and will dictate what they see
and how they see it.
I have a popup which displays an image (not that it matters much I guess,
but entire site is in ASP).
I want the window to resize itself on opening to 'hug' the image. However,
some images will be bigger than the screen, so I want a maximum which it
will resize to if the image is bigger than the specified maximum.
Also, to confuse matters - some users have varying screen-resolutions, so an
added bonus would be to detect the users screen size and set the maximum
resize value according to this.
Any suggestions?
Thanks in advance
Before you jump on me for wanting to interfere with the user's windows -
it's' for a corporate intranet where we can and will dictate what they see
and how they see it.
I have a popup which displays an image (not that it matters much I guess,
but entire site is in ASP).
I want the window to resize itself on opening to 'hug' the image. However,
some images will be bigger than the screen, so I want a maximum which it
will resize to if the image is bigger than the specified maximum.
Also, to confuse matters - some users have varying screen-resolutions, so an
added bonus would be to detect the users screen size and set the maximum
resize value according to this.
Any suggestions?
Thanks in advance