Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why this happens? DHTML Unsupported?

0 views
Skip to first unread message

Rafael Netto

unread,
Mar 30, 2002, 9:04:25 PM3/30/02
to
Using Opera 6.0 on Windows 2000.

I've seen this many times (using O5.10) now I see this still doesn't work on 6.0 - drop-down/side or pop-up menus. Is this DHTML? Does Opera support at least some "flavor" of it?

http://www.avsim.com/posky/downloads.shtml

On Opera, the links (Boeing 767-200 and so on) lead to nowhere. On IE5, pop-up menus appear, with working links.
Checking the code, I've seen there is lots of specific-browser-directed JavaScript lines, like this one:

menuobj=ie4? document.all.popmenu : ns6? document.getElementById("popmenu") : ns4? document.popmenu : ""
menuobj.thestyle=(ie4||ns6)? menuobj.style : menuobj

I get very worried whenever I had to switch to IE, but as I can see we can't avoid it yet...

Rafael Netto


Arioch /BDV/

unread,
Apr 6, 2002, 7:59:33 AM4/6/02
to
Hello, Rafael!
You wrote on Sun, 31 Mar 2002 02:04:25 GMT:

Opera supports a very tiny spare of dhtml in IE-faking mode.
Genereally Opera supports DOM, not DHTML.

Suggest webmaster to look at www.cross-browser.com - the will save his time
and brains.

With best regards, . E-mail:

Richard Grevers

unread,
Apr 6, 2002, 3:44:07 PM4/6/02
to
In article <a8mrnv$983$1...@mail.opera.no>, Arioch /BDV/ said...

> Hello, Rafael!
> You wrote on Sun, 31 Mar 2002 02:04:25 GMT:
>
> Opera supports a very tiny spare of dhtml in IE-faking mode.
> Genereally Opera supports DOM, not DHTML.

That's a somewhat inaccurate statement, Arioch. DOM and DHTML are not
apples and oranges - they are not even both fruit!

1) DHTML is a standardless general name for the technique of combining
client-side scripting, CSS and a DOM to create dynamic display effects on
a web page.


2) Any browser which supports scripting has a DOM (Document Object Model)
- Even Netscape 3. The DOM is basically the set of methods and objects
which allow scripting to interact with elements of the web page. e.g.
Netscape 3 can do image rollovers because it has a document.images
object. The rough history of DOM's are:

Version 3 browsers: (NN,IE, Opera) Simple DOM based on the original
Netscape Livescript (Javascript) definition.

Netscape 4: A proprietary DOM based on the concept of layers.
IE4 - 5: An extensive proprietary DOM very different from Netscape's.
Here began the DHTML wars and the need to double code every page. Many
pages are still targeted at this level, as are some authoring tools. Now
oftern referred to as "country AND western" after the line from the Blues
Brothers movie.

Gecko: (Netscape 6/Mozilla et al.) Most of a standard DOM developed by
the W3C. Also supports a few non-standard properties implemented by
Microsoft.

IE5.5, 6 : A composite DOM with partial support of the W3C DOM, legacy
support of the IE4 dom, plus some new proprietary material.

Opera 4-6: Supports the static (parts which do not insert new content
into the page) parts of the W3C DOM (probably about 2/3 of the standard).
In addition, when ID'd as MSIE, Opera adds support for a few key
properties of the IE4 DOM, which allows a number of important websites to
function in Opera.

Opera 7: Scheduled to complete support for the W3C DOM, and hopefully
match the IE support that Gecko has.

By the time of Opera 7 and IE 7, we should actually have all major
current browsers supporting the same stuff!

> Suggest webmaster to look at www.cross-browser.com - the will save his time
> and brains.
>

Yes. What an API such as the cross-browser cbe does is i) does some
decent-quality browser detection
ii) creates its own extensive set of methods, objects and event handlers.
You call these cbe objects and methods in your page code, and the core
scripts translate (or more strictly branch) them to the correct script
for your browser.

Mike Foster

unread,
Apr 8, 2002, 8:30:38 AM4/8/02
to
Richard: excellent description!

Arioch: thanks for recommending my site!

cya,
Mike
http://cross-browser.com


Jonny Axelsson

unread,
Apr 10, 2002, 5:18:53 PM4/10/02
to
On Sun, 7 Apr 2002 08:44:07 +1200, Richard Grevers
<newsfe...@dramatic.co.nz.invalid> wrote:

> Opera 7: Scheduled to complete support for the W3C DOM, and hopefully
> match the IE support that Gecko has.

Very nice browser write-up, but you are overstating the Opera 7.0 DOM
support. This depends somewhat on what you mean by "support for the W3C
DOM". If you mean the full DOM 2 suite of Core + XML + HTML (level 1; level
2 still working draft) + Events + Style + Range + Traversal, then no, Opera
7.0 will not have a complete implementation. It will have a very good one
though.


Jonny Axelsson
Documentation,
Opera software


Richard Grevers

unread,
Apr 13, 2002, 10:07:57 PM4/13/02
to
In article <1103_10...@news.opera.no>, Jonny Axelsson said...
Sorry - Opera haven't yet told us what will and won't be supported.
(consider this an invitation to if you are allowed to)

Mike Foster

unread,
Apr 17, 2002, 1:04:03 AM4/17/02
to
"Richard Grevers" <newsfe...@dramatic.co.nz.invalid> wrote in message
news:MPG.1723abab7...@news.opera.com...

> Sorry - Opera haven't yet told us what will and won't be supported.
> (consider this an invitation to if you are allowed to)


LOL! Good try Richard. We're all very anxious to play with O7, eh?


0 new messages