473,800 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Function behaves strange in Opera while working in mozzila, IE


Hallo everbody,
I am using the following function:

function MultimediaOpenW nd (ids,action1,ca ptions,wd,ht) {
var features = "width=" + wd + ",height=" + ht
+ "scrollbars=yes ,menubar=no";

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

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 1311
Koyan wrote on 18 Dec 2003 at Thu, 18 Dec 2003 11:12:27 GMT:
Hallo everbody,
I am using the following function:

function MultimediaOpenW nd (ids,action1,ca ptions,wd,ht) {
var features = "width=" + wd + ",height=" + ht
+ "scrollbars=yes ,menubar=no";

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

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.******@blueyo nder.co.invalid (replace ".invalid" with ".uk")
Jul 20 '05 #2
Koyan <Kk****@yahoo.c om> 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/rasterTriangleD OM.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.******@bluey onder.co.invali d> 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.c om> 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
2353
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
1071
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 anyone help me to enable it in Firefox or disable it in Opera? Thanks.
39
6558
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. When it completes, it can call a success, or a failure function. The names of these success, or failure functions will differ, and I'd like to know how I can pass the name of a function to my tool, and how my tool can call the function, using that...
0
1682
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) , I'm getting a strange behavior: When I try to scroll, the text doesn't move. It only moves to a new position, if I move the scroll marks, and then click on a empty place of the website. There is nothing on the site, just the textbox.
2
1579
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 and right side doesn't fit perfect in height. In Opera the page is totally messed up. Is there a way to make it work with every browser? I thought about puttning different css file for each browser, but i can't get Opera working correctly. The css...
2
1678
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 </form> -->here is the problem .. in opera.. seems like closing </div> <?php code code
3
6731
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 to execute a command call from within Access to execute a batch file (sample.bat). To do this, we use the Shell function, something like: Shell "cmd /c sample.bat"
53
8422
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 language="javascript" type="text/javascript">
1
5914
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 style="width:500px;height:300px" ><param name="movie"...
0
9690
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.