tailieunhanh - javascript bible 4th edition jsb gold chapters phần 5

DOM mới mang ra nhiều mô hình đối tượng ban đầu, cộng với cách thức mới để giải quyết tất cả các đối tượng trong một tài liệu. Mục tiêu của chương này là đặt mỗiVị trí yếu tố khả năng hiển thị hành vi | Chapter 28 The Navigator and Other Environment Objects CD-175 for backward compatibility the method is available in more modern browsers that don t employ tainting in which case the method always returns false . Do not employ this method in your scripts. mimeType Object Properties Methods Event Handlers description enabledPlugin type suffixes Syntax Accessing mimeType properties i .property MIMEtype .property NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility About this object A mimeType object is essentially an entry in the internal array of MIME types about which the browser knows. NN3 for example ships with an internal list of more than five dozen MIME types. Only a handful of these types are associated with helper applications or plug-ins. But add to that list all of the plug-ins and other helpers you ve added and the number of MIME types can grow to more than a hundred. The MIME type for the data is usually among the first bits of information to arrive at a browser from the server. A MIME type consists of two pieces of information type and subtype. The traditional way of representing these pieces is as a pair separated by a slash as in mimeTypeObject CD-176 Part III Document Objects Reference text html image gif audio wav video quicktime application pdf application x-zip-compressed If a file does not contain the MIME type header or a CGI program sending the file does not precede the transmission with the MIME type string the browser receives the data as a text plain MIME type. When you load the file from a local hard drive the browser looks to the filename s extension the suffix after the period to figure out the file s type. Regardless of the way it determines the MIME type of the incoming data the browser then acts according to instructions it maintains internally. You can see these settings by looking at preferences settings usually associated with the name Applications. By having the .

TỪ KHÓA LIÊN QUAN