469,315 Members | 1,564 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

Getting picture size/setting window size

Hi!

I am making an option, which opens a small window with a picture in it
and data about it.

I just want a JS script, which will get the picture size, and then set
the window accordingly?

BR
Sonnich

Feb 14 '07 #1
2 1896
VK
On Feb 14, 10:45 pm, "jodleren" <sonn...@hot.eewrote:
Hi!

I am making an option, which opens a small window with a picture in it
and data about it.

I just want a JS script, which will get the picture size, and then set
the window accordingly?
The trickiest part is to get the real picture size across different
UAs.

Untested by myself claimed to be working by poster:

<http://groups.google.com/group/comp....avascript/msg/
f9479765f8cd8950>

For window be aware that both popup and resizing are considered as so-
called "common annoyances" so can by blocked - either one or both - on
your visitors.

Feb 14 '07 #2
On Feb 14, 11:17 pm, "VK" <schools_r...@yahoo.comwrote:
On Feb 14, 10:45 pm, "jodleren" <sonn...@hot.eewrote:
Hi!
I am making an option, which opens a small window with a picture in it
and data about it.
I just want a JS script, which will get the picture size, and then set
the window accordingly?

The trickiest part is to get the real picture size across different
UAs.

Untested by myself claimed to be working by poster:

<http://groups.google.com/group/comp....avascript/msg/
f9479765f8cd8950>

For window be aware that both popup and resizing are considered as so-
called "common annoyances" so can by blocked - either one or both - on
your visitors.
For getting data, it seems to work.
But how do I set the size?

/S

Feb 15 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dan glenn | last post: by
4 posts views Thread by BrianKE | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.