Function behaves strange in Opera while working in mozzila, IE

K

Koyan

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
 
M

Michael Winter

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
 
K

Koyan

Koyan wrote on 18 Dec 2003 at Thu, 18 Dec 2003 11:12:27 GMT:

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.
 
K

Koyan

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top