- From: Andrew Clover <and@doxdesk.com>
- Date: Thu, 27 Jun 2002 12:44:26 +0000
- To: www-dom@w3.org
nerula <nerula@inwind.it> wrote: > i used Opera identified such as ie 5, since i dont have a windows > partition. Opera's "pretend to be IE" mode actually does very little to its implementation of the DOM; it merely adds the non-standard document.all property. > message: Value on left hand side of '.' is not convertible to Object: > document.implementation Opera does not support document.implementation. Neither does IE5 for Windows. IE6 and Mozilla do, however. If you want to call hasFeature you should check for the existence of document.implementation first. > why i can have an object but i cant use its methods and properties? You can access *some* properties (eg style.top on positioned elements), but because Opera (as of the current version) does not have anything like a full DOM Level 1 implementation you are extremely limited in what you can do. For details of what Opera implements, see: http://www.opera.com/docs/specs/js/ If you aim is to play with browser DOM in general, try Mozilla. If you want to make sure things work in IE, you really need to install IE. For details of the DOM used by IE (including all the non-standard extensions) see: http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp -- Andrew Clover mailto:and@doxdesk.com http://and.doxdesk.com/
Received on Thursday, 27 June 2002 08:47:18 UTC