{"json_modified": "2016-08-10T19:16:12.585537", "uuid": "14c52210-058c-4c3b-9d58-b0569c0558b2", "title": "Examples", "url": "/zh-CN/docs/Web/API/Document_Object_Model/Examples", "tags": ["DOM\u53c2\u8003", "DOM"], "translations": [{"uuid": "bc4e11d8-52c9-430c-9aa4-d7e7e7d57a1d", "title": "Examples of web and XML development using the DOM", "url": "/en-US/docs/Web/API/Document_Object_Model/Examples", "tags": ["DOM", "DOM Reference"], "summary": "This chapter provides some longer examples of web and XML development using the DOM. Wherever possible, the examples use common APIs, tricks, and patterns in JavaScript for manipulating the document object.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-04-16T23:44:08", "review_tags": []}, {"uuid": "c002de0e-8bca-4e0e-9bf3-ebfdd2963fe2", "title": "Ejemplos", "url": "/es/docs/Referencia_DOM_de_Gecko/Ejemplos", "tags": ["Referencia_DOM_de_Gecko", "DOM", "Todas_las_Categor\u00edas", "p\u00e1ginas_a_traducir"], "summary": "En este cap\u00edtulo se brindan ejemplos relativamente extensos que ilustran el uso del DOM para el desarrollo web y XML. Siempre que sea posible, usaremos las APIs, trucos y patrones comunes en JavaScript para la manipulaci\u00f3n del objeto document
.", "localization_tags": [], "locale": "es", "last_edit": "2014-10-23T22:51:44", "review_tags": []}, {"uuid": "ea34ff2a-9a44-4c4c-b0fb-9c9de397e000", "title": "Exemples", "url": "/fr/docs/Web/API/R%C3%A9f%C3%A9rence_du_DOM_Gecko/Exemples", "tags": ["DOM"], "summary": "Cette page pr\u00e9sente quelques exemples plus d\u00e9taill\u00e9s de d\u00e9veloppement Web et XML utilisant le DOM. Partout o\u00f9 c'est possible, les exemples utilisent des API courantes, des astuces et des patterns en JavaScript pour manipuler l'objet de document.", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-06T06:13:43", "review_tags": []}, {"uuid": "5207d957-a7de-4124-84d1-3bb35412f83d", "title": "Przyk\u0142ady u\u017cycia DOM", "url": "/pl/docs/Dokumentacja_Gecko_DOM/Przyk%C5%82ady_u%C5%BCycia_DOM", "tags": ["Dokumentacja_Gecko_DOM", "DOM", "Gecko", "Wszystkie_kategorie"], "summary": "Rozdzia\u0142 ten pokazuje kilka d\u0142u\u017cszych przyk\u0142ad\u00f3w u\u017cycia DOM na stronach internetowych i zastosowanie XML-a. Gdzie tylko jest to mo\u017cliwe, przyk\u0142ady u\u017cywaj\u0105 og\u00f3lnie API, trik\u00f3w i wzor\u00f3w kodu napisanych w JavaScripcie s\u0142u\u017c\u0105cych do manipulacji obiektem dokumentu.", "localization_tags": [], "locale": "pl", "last_edit": "2014-10-23T11:57:51", "review_tags": []}, {"uuid": "177a7e9b-58ef-4844-8401-2c15e2ca8d74", "title": "\u4f8b", "url": "/ja/docs/DOM/DOM_Reference/Examples", "tags": ["DOM", "DOM Reference"], "summary": "\u3053\u306e\u7ae0\u3067\u306f\u3001DOM \u3092\u5229\u7528\u3057\u305f\u30a6\u30a7\u30d6\u3068 XML \u958b\u767a\u306e\u3088\u308a\u9577\u3044\u4f8b\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\u3002\u53ef\u80fd\u306a\u9650\u308a\u3053\u308c\u3089\u306e\u4f8b\u3067\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u4e0a\u3067\u3088\u304f\u7528\u3044\u3089\u308c\u308b API \u3084\u6280\u6cd5\u3084 JavaScript \u306e\u30d1\u30bf\u30fc\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2014-10-23T11:58:09", "review_tags": []}], "modified": "2016-08-10T19:16:12", "label": "Examples", "localization_tags": ["inprogress"], "locale": "zh-CN", "id": 2148, "last_edit": "2016-08-10T19:16:07", "summary": "\u672c\u7ae0\u4ecb\u7ecd\u4e86\u4f7f\u7528\u00a0DOM \u8fdb\u884c\u00a0Web \u4ee5\u53ca\u00a0XML \u5f00\u53d1\u7684\u4e00\u4e9b\u8f83\u957f\u7684\u4f8b\u5b50\u3002\u53ea\u8981\u80fd\u505a\u5230\uff0c\u4f8b\u5b50\u5c31\u4f1a\u4f7f\u7528\u901a\u7528\u7684JavaScript API \uff0c\u6280\u5de7\u4ee5\u53ca\u6a21\u5f0f\u6765\u64cd\u4f5c\u6587\u6863\u5bf9\u8c61\uff08the document object\uff09\u3002", "sections": [{"id": "Example_1:_height_and_width", "title": "\u793a\u4f8b 1: \u9ad8\u5ea6\u548c\u5bbd\u5ea6"}, {"id": "Example_2:_Image_Attributes", "title": "\u793a\u4f8b 2: \u56fe\u7247\u5c5e\u6027"}, {"id": "Example_3:_Manipulating_Styles", "title": "\u793a\u4f8b 3: \u64cd\u4f5c\u6837\u5f0f"}, {"id": "Example_4:_Using_Stylesheets", "title": "\u793a\u4f8b 4: \u4f7f\u7528\u6837\u5f0f\u8868"}, {"id": "Example_5:_Event_Propagation", "title": "\u793a\u4f8b 5: \u5192\u6ce1\u4e8b\u4ef6"}, {"id": "Example_6:_getComputedStyle", "title": "\u793a\u4f8b 6: getComputedStyle"}, {"id": "Example_7:_Displaying_Event_Object_Properties", "title": "\u793a\u4f8b 7: \u663e\u793a\u4e8b\u4ef6\u5bf9\u8c61\u7684\u5c5e\u6027"}, {"id": "Example_8:_Using_the_DOM_Table_Interface", "title": "\u793a\u4f8b 8: \u4f7f\u7528 DOM Table \u63a5\u53e3(Interface)"}, {"id": "Notes", "title": "\u6ce8\u610f"}, {"id": "Subnav", "title": "Subnav"}], "slug": "Web/API/Document_Object_Model/Examples", "review_tags": []}