sw7x Posted March 19, 2014 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 Link to comment Share on other sites More sharing options...
thescientist Posted March 19, 2014 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. Link to comment Share on other sites More sharing options...
Ingolme Posted March 19, 2014 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. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 19, 2014 Share Posted March 19, 2014 The site you linked to was written in 2000. It's safe to say that things are different now. Link to comment Share on other sites More sharing options...
sw7x Posted March 23, 2014 Author 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 Link to comment Share on other sites More sharing options...
Ingolme Posted March 23, 2014 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 Link to comment Share on other sites More sharing options...
justsomeguy Posted March 24, 2014 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now