JavaScript Bible, Gold Edition part 31

JavaScript Bible, Gold Edition part 31. This book will bring programmers and non-technical professionals, including casual programmers and scripters, painlessly up to speed on all aspects of mastering JavaScript. Key topics include programming fundamentals, JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. | 148 Part III Document Objects Reference On h Example on the CD-ROM CD-rOm r Related Items nodeName property getElementsByTagName method. tagUrn Value String Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The tagUrn property is associated primarily with XML that is embedded within a document. When you include XML you can specify one or more XML Namespaces that define the owner of a custom tag name thus preventing conflicts of identical custom tags from different sources in a document. See Chapter 33 for more about XML objects. A Namespace definition can include a Uniform Resource Name URN that lets a page link to a destination on the network that further defines such Namespace aspects as a behavior associated with a custom XML element. The XML Namespace is assigned in IE5 as an attribute of the HTML tag that surrounds the entire document. HTML XMLNS Fred http xmllib After that the namespace value precedes all custom tags linked to that Namespace Fred FIRST_Name ID fredFirstName To find out the URN of the namespace owner of an element you can read the tagUrn property of that element. For the preceding example the tagURN property returns xmllib. For regular HTML elements the returned value is always null. The corresponding property in the W3C DOM and NN6 is namespaceURI. On th Example on the CD-ROM CD-ROM r Related Item scopeName property. title Value String Read Write Chapter 15 Generic HTML Element Objects 149 NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The W3C standard states that you should use the title property and TITLE attribute in an advisory role. The main browsers interpret that role as text assigned to tooltips that pop up momentarily while the cursor rests atop an element. The advantage of having this property available for writing is that your scripts can modify an element s tooltip text in response to other user interaction on the page. A tooltip can provide brief .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
27    303    2    27-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.