sw7x 0 Posted March 19, 2014 Report Share Posted March 19, 2014 (edited) http://www.comptechdoc.org/independent/web/cgi/javamanual/javaobjheir.htmlaccording to the web page give above JavaScript Dom object navigator have mime type object plugin object window object but in your site in this pagehttp://www.w3schools.com/jsref/obj_navigator.asp there is no those objects under navigator object.i want know is it mistake ormy referenced above web page(http://www.comptechdoc.org/independent/web/cgi/javamanual/javaobjheir.html) is wrong Edited March 19, 2014 by sw7x Quote Link to post Share on other sites
thescientist 231 Posted March 19, 2014 Report Share Posted March 19, 2014 The w3schools page also states there is no standard to the navigator object, so YMMV depending on the browser you are using. Quote Link to post Share on other sites
Ingolme 1,034 Posted March 19, 2014 Report Share Posted March 19, 2014 I don't believe Mime Type and Plug-in are standard. As far as I know, Window doesn't belong to the navigator either, Window is the topmost DOM element in the official HTML DOM hierarchy. Quote Link to post Share on other sites
justsomeguy 1,135 Posted March 19, 2014 Report Share Posted March 19, 2014 The site you linked to was written in 2000. It's safe to say that things are different now. Quote Link to post Share on other sites
sw7x 0 Posted March 23, 2014 Author Report Share Posted March 23, 2014 (edited) The site you linked to was written in 2000. It's safe to say that things are different now. The w3schools page also states there is no standard to the navigator object, so YMMV depending on the browser you are using. I don't believe Mime Type and Plug-in are standard. As far as I know, Window doesn't belong to the navigator either, Window is the topmost DOM element in the official HTML DOM hierarchy. Then what is the correct JavaScript Object Hierarchy ? Edited March 23, 2014 by sw7x Quote Link to post Share on other sites
Ingolme 1,034 Posted March 23, 2014 Report Share Posted March 23, 2014 Whatever you find on W3Schools should work. Window is the root of everything. Whatever you see on this page is what you can use: http://www.w3schools.com/jsref/default.asp Quote Link to post Share on other sites
justsomeguy 1,135 Posted March 24, 2014 Report Share Posted March 24, 2014 Wikipedia has a diagram as well:http://en.wikipedia.org/wiki/Document_Object_ModelYou can also check the MDN reference:https://developer.mozilla.org/en-US/docs/DOMNote that the navigator object is a child of the Window object, not the other way around:https://developer.mozilla.org/en-US/docs/Web/API/Window.navigator Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.