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

Function behaves strange in Opera while working in mozzila, IE

P: n/a

Hallo everbody,
I am using the following function:

function MultimediaOpenWnd (ids,action1,captions,wd,ht) {
var features = "width=" + wd + ",height=" + ht
+ "scrollbars=yes,menubar=no";

window.open("/international_en/multimedia/image-popup?id=" + ids
+ "&actionval=" +action1+ "&caption="+captions+"",
"ImagePopUp",features)
}

To open a pop up window with a specified size for viewing images.
This works fine in Iexplorer and Mozzila but it doesn't in Opera:
The window opens in the specified size, then it starts downloading the
text and the image, and when it finishes downloading, the window gets
smaller again.

Any idea why would this be happening?

Thanks
Koyan

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Koyan wrote on 18 Dec 2003 at Thu, 18 Dec 2003 11:12:27 GMT:
Hallo everbody,
I am using the following function:

function MultimediaOpenWnd (ids,action1,captions,wd,ht) {
var features = "width=" + wd + ",height=" + ht
+ "scrollbars=yes,menubar=no";

window.open("/international_en/multimedia/image-popup?id=" +
ids
+ "&actionval=" +action1+ "&caption="+captions+"",
"ImagePopUp",features)
}

To open a pop up window with a specified size for viewing
images. This works fine in Iexplorer and Mozzila but it doesn't
in Opera: The window opens in the specified size, then it starts
downloading the text and the image, and when it finishes
downloading, the window gets smaller again.

Any idea why would this be happening?


Have you tried submitting this to Opera's page display group? It
seems to be quite a low traffic group, but if no-one can help you
here, it could be a good place to try.

You'll have to use Opera's news server, news.opera.com
The group's name is opera.page-display

Mike

--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk")
Jul 20 '05 #2

P: n/a
Koyan <Kk****@yahoo.com> writes:
Any idea why would this be happening?


Does the loaded page resize the window?

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3

P: n/a
On Thu, 18 Dec 2003 15:07:26 GMT, Michael Winter
<M.******@blueyonder.co.invalid> wrote:

Koyan wrote on 18 Dec 2003 at Thu, 18 Dec 2003 11:12:27 GMT:
To open a pop up window with a specified size for viewing
images. This works fine in Iexplorer and Mozzila but it doesn't
in Opera: The window opens in the specified size, then it starts
downloading the text and the image, and when it finishes
downloading, the window gets smaller again.

Any idea why would this be happening?


Have you tried submitting this to Opera's page display group? It
seems to be quite a low traffic group, but if no-one can help you
here, it could be a good place to try.

You'll have to use Opera's news server, news.opera.com
The group's name is opera.page-display

I will try there. Thanks for the info.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jul 20 '05 #4

P: n/a
On Thu, 18 Dec 2003 22:01:17 +0100, Lasse Reichstein Nielsen
<lr*@hotpop.com> wrote:

Koyan <Kk****@yahoo.com> writes:
Any idea why would this be happening?


Does the loaded page resize the window?

No it doesn't.
And this is the strange thing: the same javascript works as it is
supposed to work in Iexplorer and Mozzila, but not in opera.

If you want to test it yourself:
Example: go to http://www.greenpeace.org/international_en/
The first of the 3 pictures (the one with the logs). If you see the source
of the page, the link of this
image tells the javascript function to open a window of size 535 , 541.

If you then press on the image, originally a 535 , 541 window opens, which
when everything gets downloaded
gets smaller, actually it gets the size 520,460.

If you do the same thing in IE or in Mozzilla the final window has the
size 535 , 541.

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.