 |
 |
JavaScript Menu component don't work
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Nov 2001
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Unless I'm mistaken, noth NS6 and IE5/Mac both use only the W3C DOM, rather than the proprietary API's given in the article you reference (which the 4.x browsers use).
There's a very nice set of DOM menus at http://www.brainjar.com that should work, but they don't work with 4.x browsers.
[EDIT: ...and by the way, this should be in the Web Developer forum. Click through to find your thread.
[ 11-19-2001: Message edited by: Millennium ]
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Status:
Offline
|
|
Originally posted by wtimmer:
<STRONG>Hi,
It seems that JavaScipts Menu componets don't work. I've tried NetScape and IE. It's DHTML. Maybe this is the reason that is does not work. [/URL]
</STRONG>
Isn't DHTML just javascript?????
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
DHTML, which supposedly stands for "Dynamic HTML", is more a marketing term than anything else. You need four things to make it work: - A document. You need content to present. HTML is commonly used here, though XML can be used too.
- A property set. Something to modify. Cascading Style Sheets are the norm in this arena.
- A scripting language. Something to modify with. JavaScript is the generally-accepted standard.
- An object model. Something to tie it all together. This is where the incompatibilities lie, for the most part. Netscape 4 has its own object model. So does IE. But the W3C has proposed a standard model, to replace the other two. It is this standard model which the latest browsers, including all of the browsers for OSX, support. In fact, none of the browsers on OSX support any of the other models (except maybe OmniWeb, which for some reason has chosen to emulate Netscape4).
This is where the trouble is. The articles in the original post don't use the standard DOM; they use the Netscape4 and IE4 ones only. But neither of these works in any OSX browser. You need to use the standard model for that.
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |