By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,157 Members | 1,001 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,157 IT Pros & Developers. It's quick & easy.

Getting picture size/setting window size

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.