473,320 Members | 1,814 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,320 software developers and data experts.

Opera vs Javascript

Seems opera can not work normally with javascript, does anyone knows how to fix it?

Thanks in advance.
Jul 20 '05 #1
4 2309

"Spijon" <sp****@online.com.ua> wrote in message
news:8d*************************@posting.google.co m...
Seems opera can not work normally with javascript, does anyone knows how to fix it?


Please be more specific. What exactly is the problem?

JW

Jul 20 '05 #2
Problem is too wide, I've got a lot of javascripts and almost none of
them are displayed correct. IE, Mozilla and FireBird shows them
perfectly. So question is maybe it doesn't support some set tags or some
features. If it does than where can I find such list?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #3
DU
Igor Galchevsky wrote:
Problem is too wide, I've got a lot of javascripts and almost none of
them are displayed correct.
Your post would have been a lot more relevant, I would say, if you had
given an url where some of the "javascript" problems exist, can be verified.

IE, Mozilla and FireBird shows them perfectly. So question is maybe it doesn't support some set tags or some
features. If it does than where can I find such list?


Web specifications supported by Opera 7:
http://www.opera.com/docs/specs/

Complete support table for CSS1 and CSS2 in Opera 7:
http://www.opera.com/docs/specs/css/

Complete table of ECMAScript support in Opera 7:
http://www.opera.com/docs/specs/js/ecma/

Complete table of DOM 2 Core support in Opera 7:
http://www.opera.com/docs/specs/js/dom/

Complete table of DOM 1 HTML support in Opera 7:
http://www.opera.com/docs/specs/js/dom/html/

Complete table of DOM 2 Events support in Opera 7:
http://www.opera.com/docs/specs/js/dom/events/

Complete table of DOM 2 Style support in Opera 7:
http://www.opera.com/docs/specs/js/dom/css/

Complete table of non-standard JavaScript support (soon)

but you should not trust blindly these charts. I personally noticed
there are some exaggerations, imprecisions, lots of bugs and plain
errors in these charts.

DU
---------------------------
Javascript and Browser bugs:
http://www10.brinkster.com/doctorunclear/

Jul 20 '05 #4
If the script uses any kind of browser detection, you have to be very
careful, especially with Opera. At one time you could depend on
appName and appVersion to sniff out the browser, but not anymore. If
you use appName to detect Opera you get Microsoft Internet Explorer!
If you go to userAgent on Opera 7.11 you find: Mozilla/4.0(compatible;
MSIE 6.0; Windows NT 5.1) Opera 7.11 [en]. Thus you would have to seek
out Opera in the userAgent to find Opera. For the Microsoft IE6 that
is slightly modified by the ISP MSN, you get an appName of Microsoft
Internet Explorer at least. However the appVersion is 4.0( compatible;
MSIE 6.0; Windows NT 5.1; Net CLR 1.0.3705, MSN 8.0; MSN 8.5; blah
blah. Most browsers give apCodeName as Mozilla. However MSNTV(WebTV)
gives "bowser" instead and this is the most simple way to detect
MSNTV.If you detect the wrong browser, you may get false results
concerning positioning and other "geometry" of the screen. You usually
need to check for document.all and W3C
(document.getElementByIdSupport).If you are interested in the old
Netscape 4 series browsers, you may also need to check for
document.layers support. IE4 uses document.all. IE5 and 6 use both
document.all and W3C DOMs. Even on the IE6, many still write using the
document.all DOM. Netscape6+ and the Mozillas use the W3C DOM only.
Opera 7.11 still uses both the document.all and the W3C DOM, although
the Opera users are more likely to select the W3C DOM than are IE
users. The point of this is that much older script used simple browser
detection to determine the correct code to use, and this often must be
updated for modern browsers for reasons mentioned above. Failure to do
so can result in all sorts of distortions of the page when viewed on
some browsers. In such a case, the problem is with the code written on
the page - not the IE, Netscape, Opera, etc. browser.
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: tony kulik | last post by:
This code works fine in ie and opera but not at all in Mozilla. Anybody got a clue as to how to get it right? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <script...
6
by: Gustav Medler | last post by:
Hello, there is a known problem with Opera and the execution of content shown in <NOSCRIPT> tag. Everythings works fine, if there is only one simple script like:...
6
by: Shaun Fleming | last post by:
I've been trying to make this simple script compatible across various browsers. It works for IE 6.0 and NS 7 but doesnt work with Opera (I have version 7.11). This is what is supposed to happen:...
17
by: windandwaves | last post by:
Hi Folk I recently completed an interactive map. I have now discovered that it is not working in Opera. The address is: http://switch.hosts.net.nz/~admin64/search.php The map is...
4
by: alainpoint | last post by:
Hi, I have a simple question. How do you get Opera to work with SVG and Javascript? Can someone point me to a site where the two work together? Many thanks Alain
1
by: Grzegorz ¦lusarek | last post by:
Hi everyone. I'm looking for javascript tools for web browser like IE and OPERA. I want find something like javascript shell http://www.squarefree.com/shell/shell.html for IE and OPERA. Does anyone...
6
by: Jeremy | last post by:
I really want to make my scripts work in Opera. I really, really do. But it seems like an uphill struggle. First of all, I can't get ANY kind of debug output. No error messages in the...
5
by: Dr J R Stockton | last post by:
In Opera 9.2x, new Date.getYear() gives 108. In Opera 9.50, new Date.getYear() gives 2008. AIUI, IIRC, etc., ECMA & ISO/IEC require Year-1900. 9.2x was right, 9.50 agrees with IE 6 & 7. Do we...
15
by: dhtml | last post by:
Title says it. If I use a for in loop on an HTML collection, I get length twice. <!DOCTYPE HTML> <html lang="en"> <head> <title>length twice</title> </head> <body> <form...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.