473,785 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2356

"Spijon" <sp****@online. com.ua> wrote in message
news:8d******** *************** **@posting.goog le.com...
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.getEl ementByIdSuppor t).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
3606
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 language="JavaScript" type="text/javascript"> function show(that) { if (box.style.visibility=='hidden') { that.style.visibility = 'visible'}; }
6
4775
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: http://www.dr-wald.de/test/Opera-NOSCRIPT.html Switching off Javascript will show the alternative content. Javascript enabled will only show the JS-content, _not_ the <NOSCRIPT> content.
6
2726
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: when the user clicks a button in the main window, a dialog window pops up. In the dialog the user enters a university to search for. When the string is submitted, the dialog then shows all the matches found in the database. The user picks one and...
17
1668
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 basically 20+ images over each other, each of which are transparent gifs.
4
1655
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
1638
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 know about something like that? or something like FF javascript console under IE (always wanted how IE execute javascript). thanks for any help Gregor
6
2727
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 "javascript console" - but then, I have never seen ANYTHING in Opera's javascript console. Is there some kind of voodoo I need to perform in order to make that work? Then, when Opera doesn't like something about a script (even if it works fine in...
5
1040
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 agree? Anything else interesting noticed? -- (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05. Web <URL:http://www.merlyn.demon.co.uk/- w. FAQish topics, links, acronyms
15
2019
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 action="javascript:;" id="form1">
0
9646
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
9484
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10350
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
9957
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8983
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...
1
7505
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
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
5386
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
5518
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.