473,386 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Function behaves strange in Opera while working in mozzila, IE


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
4 1266
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: WH | last post by:
I put this line in HTML <body bgcolor="#FFFFFF" onLoad="focus()"> Both Mozzila and IE can do self.focus(). However Opera still does not take the focus().
2
by: i6033162556-signup1 | last post by:
http://javascript.internet.com/games/mouse-bomb.html works in IE But I need it either work both in Mozzila and Opera or not work in either. Currently it works in Opera but not in Mozzila. Can...
39
by: Randell D. | last post by:
Folks, I'm sure this can be done legally, and not thru tricks of the trade - I hope someone can help. I'm writing a 'tool' (a function) which can be used generically in any of my projects. ...
0
by: the friendly display name | last post by:
Hi, I have a filled multiline textbox on the site. I can scroll it with IE and Firefox, but under Opera (tested under 7.54, and Opera 8, under "identify as MSIE" and under Opera identification)...
2
by: buhajbej | last post by:
Hi. I'm preparing polish version of Herbalife.com. I want to make xhtml compatible. Under this link: http://www.kredytomat.pl/hbl/ is a test verison of this page. In IE it looks ok. In FF left...
2
by: billkirim | last post by:
I ve got a problem with opera browser. When i am closing a form tag </form> which is in a div tag seems to automatic close my div tag. <div id="something"> <form .......> ->first form ...
3
by: Max Vit | last post by:
I have come across a strange issue whilst trying to use a shell command call from Access and have spent some time trying to figure this out but can't find the cause as yet. The issue is: I need...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
1
by: bogdanm | last post by:
Hello everyone, I am having a probleme with a issuu code when trying to insert it o my site it doesnt work in IE but in mozzila works fine the code is bellow: <div><object...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.