12-10-2007, 03:22 PM
Like how can I know what methods the Document, screen, Date, Math or what not objects have?
Is there an API out there which is browser independent that shows all core objects and methods?
12-10-2007, 04:28 PM
If you would have looked at the sticky threads in this forum, you would have seen this: http://codingforums.com/showthread.php?t=17254
12-10-2007, 04:38 PM
12-10-2007, 06:20 PM
12-10-2007, 07:36 PM
Second, the things that are part of the host are a hodgepodge of different specifications. There's the W3C DOM1-3 which consists of many modules, there's the Netscape client API (those which also got implemented by ie are often called DOM0), there's the non-standardised things all browsers have, and there's the browser specific things.
There's some tables for this over at Wikipedia:
- DOM <uri:http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28DOM%29>
Then you should check out webdevout: <uri:http://www.webdevout.net/>
That only leaves out the Browser host stuff. This stuff is browser specific, so I can't really give you a single link. The place to look when if comes to Mozilla is the Gecko DOM Reference (http://developer.mozilla.org/en/docs/Gecko_DOM_Reference) which also contains browser specific host object documentation.
For IE specifically, you can find all data you need at MSDN > MSDN Library >
Web Development > HTML and CSS > HTML and DHTML Reference (http://msdn2.microsoft.com/en-us/library/ms533050.aspx) (Note: MSDN content frequently move around and changes URIs. You're better off using Google to find stuff than actually keeping the URL bookmarked.)
For Opera and Safari, their documentation is more in the form of support tables than actual interface descriptions. However, they mostly follow Mozilla.
12-10-2007, 08:32 PM
I agree with liorean. MDC is the best reference guide I have come across. Bookmark it and/or use google searches of the like: "mdc abc" or "mdc abc js" if it does not show up on the first result page.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.