Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 06-20-2005, 12:00   #1 (permalink)
Norman L. DeForest
Civilians

 
Default JavaScript versions: is it worth learning all of them?


OK, there appear to be three major Document Object Models for
DHTML and JavaScript,
document.layers -- Netscape
document.all -- Micro$oft
document.GetElementById -- W3C (used by Firefox, etc.)

Trying to find information on the document.layers model, I continuously
get directed to one or another page:
http://developer.netscape.com/
which has stopped responding to http queries some time ago. (Lynx just
times out trying to connect.)

Micro$oft's site either has no downloadable references or they make them
very hard to find. Instead, it is necessary to navigate through a maze of
pages, one for each object, method, function, style, property, keyword or
whatever that they support with their version of JavaScript -- thousands
and thousands and thousands of tiny little pages.

Finding JavaScript references that don't refer only to Netscape's and/or
Micro$oft's implementations was a bit difficult but I eventually did find
it W3C's DOM in downloadable format and have used the information in that
to create JavaScript versions of the sliding-block puzzles[1] I designed.

I thought it would be nice to support *all* browsers but then have
learned from several sources that Netscape's new browser version
is selectable to emulate Firefox or IE. No mention is made of it
supporting the old Netscape standard. Then I found out in a newsgroup
for the handicapped that Internet Explorer version 6 now supports the
document.GetElementById model and that my puzzles work with IE 6.

That suggests that it may be pointless to bother learning anything but
the W3C DOM.

So, should I bother at all to try to learn the document.layers and
document.all methods of implementing DHTML or will the W3C DOM become
supported enough that the other models become superfluous?


[1] http://www.chebucto.ns.ca/~af380/JSNSPuz.html
http://www.chebucto.ns.ca/~af380/MHPuzzle.html
http://www.chebucto.ns.ca/~af380/AMPuzzle.html
--
Norman De Forest http://www.chebucto.ns.ca/~af380/Profile.html
af380@chebucto.ns.ca [=||=] (A Speech Friendly Site)
Q. Which is the greater problem in the world today, ignorance or apathy?
A. I don't know and I couldn't care less.

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Extended Warrenty is it worth it , have you gotten your moneys worth out of it ? C. E. White Automotive 15 08-22-2005 04:00
3400 V6 - differences between 96-99 versions and 2000+ versions ohcrap@gmail.com Automotive 0 07-22-2005 20:00
Re: Extended Warrenty is it worth it , have you gotten your moneys worth out of it ? C. E. White Automotive 4 07-21-2005 12:00
Re: Extended Warrenty is it worth it , have you gotten your moneys worth out of it ? Automotive 0 07-18-2005 16:00
Re: Extended Warrenty is it worth it , have you gotten your moneys worth out of it ? Automotive 0 07-18-2005 12:00


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:55.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.75146 seconds with 19 queries