{"json_modified": "2016-08-09T10:23:19.339159", "uuid": "c3ddf132-d4f6-46c4-92d5-be7a8734a03d", "title": "Element.scrollTop", "url": "/en-US/docs/Web/API/Element/scrollTop", "tags": ["API", "Reference", "NeedsMarkupWork", "Property", "NeedsCompatTable", "CSSOM View", "NeedsArtUpdate"], "translations": [{"uuid": "f3662a09-e93e-4b82-ad30-8c829f1e55c2", "title": "Element.scrollTop", "url": "/es/docs/Web/API/Element/scrollTop", "tags": [], "summary": "La propiedad Element.scrollTop
obtiene o establece el n\u00famero de pixels que el contenido de un elemento ha sido desplazado (enrollado) hacia arriba. El scrollTop
de un elemento es una medida de la distancia desde el l\u00edmite superior de un elemento al l\u00edmite superior de su contenido visible. Cuando un elemento no genera una barra de scroll vertical, el valor de su scrollTop
es establecido por defecto a 0
.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-05-28T16:01:15", "review_tags": []}, {"uuid": "de5bd7fd-bfb1-4b73-8ee8-b53dc1a4ea6f", "title": "element.scrollTop", "url": "/fr/docs/Web/API/Element/scrollTop", "tags": [], "summary": "D\u00e9finit ou obtient le nombre de pixels dont le contenu de l'\u00e9l\u00e9ment a d\u00e9fil\u00e9 vers le haut.", "localization_tags": [], "locale": "fr", "last_edit": "2014-10-23T12:50:32", "review_tags": []}, {"uuid": "35d9cd9e-b05d-4a97-adb1-7ecc03760121", "title": "element.scrollTop", "url": "/ja/docs/Web/API/Element/scrollTop", "tags": [], "summary": "scrollTop gets or sets the number of pixels that the content of an element is scrolled upward.", "localization_tags": [], "locale": "ja", "last_edit": "2014-10-28T08:48:48", "review_tags": []}, {"uuid": "c53a808e-b095-4494-bee3-bc874d054b27", "title": "element.scrollTop", "url": "/pl/docs/Web/API/Element/scrollTop", "tags": [], "summary": "scrollTop
pobiera b\u0105d\u017a ustawia liczb\u0119 pikseli, o kt\u00f3r\u0105 ma zosta\u0107 przewini\u0119ta w g\u00f3r\u0119 zawarto\u015b\u0107 elementu.", "localization_tags": [], "locale": "pl", "last_edit": "2015-11-16T10:15:17", "review_tags": []}, {"uuid": "ead60394-fe9f-48f7-ad19-6fb880debb96", "title": "Element.scrollTop", "url": "/pt-BR/docs/Web/API/Element/scrollTop", "tags": [], "summary": "A propriedade Element.scrollTop obt\u00e9m ou define o n\u00famero de pixels quando o conte\u00fado de um elemento \u00e9 rolado para baixo. O ScrollTop de um elemento \u00e9 uma medida da dist\u00e2ncia do topo de um elemento para o seu conte\u00fado superior vis\u00edvel. Quando um conte\u00fado de elemento n\u00e3o gera uma barra de rolagem vertical, ent\u00e3o o seu valor ser\u00e1 padronizado scrollTop =\u00a00.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-12-29T07:46:52", "review_tags": []}, {"uuid": "d5636d05-bdf7-4554-91af-0912da470489", "title": "\u042d\u043b\u0435\u043c\u0435\u043d\u0442.scrollTop", "url": "/ru/docs/Web/API/Element/scrollTop", "tags": [], "summary": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e scrollTop
\u00a0\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439, \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u043e\u0442 \u0432\u0435\u0440\u0445\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430.\u00a0scrollTop
\u00a0\u0438\u0437\u043c\u0435\u0440\u044f\u0435\u0442 \u0434\u0438\u0441\u0442\u0430\u043d\u0446\u0438\u044e \u043e\u0442 \u0432\u0435\u0440\u0445\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0434\u043e \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0442\u043e\u0447\u043a\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430. \u041a\u043e\u0433\u0434\u0430 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0443, \u0435\u0433\u043e\u00a0scrollTop
\u00a0\u0440\u0430\u0432\u043d\u043e\u00a00
.", "localization_tags": [], "locale": "ru", "last_edit": "2015-11-11T09:10:37", "review_tags": []}, {"uuid": "725dea4f-254f-4564-ae09-3b973d3749e9", "title": "Element.scrollTop", "url": "/zh-CN/docs/Web/API/Element/scrollTop", "tags": ["Property", "API", "scrollTop"], "summary": "\u8fd9\u4e2aElement.scrollTop
\u00a0\u5c5e\u6027\u53ef\u4ee5\u8bbe\u7f6e\u6216\u8005\u83b7\u53d6\u4e00\u4e2a\u5143\u7d20\u8ddd\u79bb\u4ed6\u5bb9\u5668\u9876\u90e8\u7684\u50cf\u7d20\u8ddd\u79bb\u3002\u4e00\u4e2a\u5143\u7d20\u7684\u00a0scrollTop
\u00a0\u662f\u53ef\u4ee5\u53bb\u8ba1\u7b97\u51fa\u8fd9\u4e2a\u5143\u7d20\u8ddd\u79bb\u5b83\u5bb9\u5668\u9876\u90e8\u7684\u53ef\u89c1\u9ad8\u5ea6\u3002\u5f53\u4e00\u4e2a\u5143\u7d20\u7684\u5bb9\u5668\u6ca1\u6709\u4ea7\u751f\u5782\u76f4\u65b9\u5411\u7684\u6eda\u52a8\u6761,\u90a3\u5b83\u7684\u00a0scrollTop \u7684\u503c\u9ed8\u8ba4\u4e3a0
.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-09-30T18:57:29", "review_tags": []}, {"uuid": "bc355ff5-af85-439b-acba-514f6849fda8", "title": "Element.scrollTop", "url": "/zh-TW/docs/Web/API/Element/scrollTop", "tags": ["Reference", "API", "CSSOM View"], "summary": "Element.scrollTop
\u5c6c\u6027\u53ef\u4ee5\u8a2d\u7f6e\u548c\u7372\u53d6\u5143\u7d20\u88ab\u5411\u4e0a\u6372\u52d5\u7684\u9ad8\u5ea6(pixels). \u5143\u7d20\u7684 scrollTop
\u662f\u5143\u7d20\u9802\u7aef\u548c\u80fd\u88ab\u770b\u898b\u7684\u6700\u9802\u7aef\u4e4b\u9593\u7684\u8ddd\u96e2. \u7576\u5143\u7d20\u4e26\u672a\u7522\u751f\u6efe\u52d5\u689d, \u90a3\u9ebc\u00a0scrollTop
\u7684\u503c\u9810\u8a2d\u70ba 0
.", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-08-09T10:23:13", "review_tags": []}], "modified": "2016-07-21T09:13:50", "label": "Element.scrollTop", "localization_tags": [], "locale": "en-US", "id": 2001, "last_edit": "2016-07-21T09:13:45", "summary": "The Element.scrollTop
property gets or sets the number of pixels that the content of an element is scrolled upward. An element's scrollTop
is a measurement of the distance of an element's top to its topmost visible content. When an element content does not generate a vertical scrollbar, then its scrollTop
value defaults to 0
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax_and_values", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "References", "title": "References"}], "slug": "Web/API/Element/scrollTop", "review_tags": ["editorial"]}