diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-20 13:28:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 13:28:52 +0300 |
commit | 1386fed7d38652d5848d315927e7e23a66cffd13 (patch) | |
tree | eb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/api/windoweventhandlers | |
parent | b0f32a46245b1033098a5a9826a7818fa4e65dde (diff) | |
download | translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2 translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip |
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/api/windoweventhandlers')
3 files changed, 8 insertions, 8 deletions
diff --git a/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html b/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html index 4c1dec554f..53bb02af49 100644 --- a/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html +++ b/files/ru/web/api/windoweventhandlers/onbeforeunload/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload <p><strong>Примечание:</strong> Для борьбы с нежелательными всплывающими окнами, некоторые браузеры не отображают текст передаваемый в beforeunload событии, если они не связаны с самой страницей; некоторые не показывают их вообще. Список конкретных браузеров смотрите в секции: {{anch("Совместимость_с_браузерами")}}.</p> </div> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="syntaxbox">window.onbeforeunload = <var>funcRef</var></pre> @@ -24,7 +24,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload <li>Функция должна назначать строковое значение свойству <code>returnValue</code> объекта Event и возвращать ту же строку.</li> </ul> -<h2 id="Example" name="Example">Пример</h2> +<h2 id="Example">Пример</h2> <pre class="brush:js">window.onbeforeunload = function(e) { var dialogText = 'Dialog text here'; @@ -80,7 +80,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload <div id="compat-mobile"> </div> -<h2 id="See also" name="See also">Смотрите также</h2> +<h2 id="See also">Смотрите также</h2> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/ms536907(VS.85).aspx">MSDN: onbeforeunload event</a></li> diff --git a/files/ru/web/api/windoweventhandlers/onhashchange/index.html b/files/ru/web/api/windoweventhandlers/onhashchange/index.html index 1ae2a8d7b8..cc4913d047 100644 --- a/files/ru/web/api/windoweventhandlers/onhashchange/index.html +++ b/files/ru/web/api/windoweventhandlers/onhashchange/index.html @@ -99,6 +99,6 @@ window.onhashchange = locationHashChanged; </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Поддержка браузерами</h2> +<h2 id="Browser_compatibility">Поддержка браузерами</h2> <p>{{Compat("api.WindowEventHandlers.onhashchange")}}</p> diff --git a/files/ru/web/api/windoweventhandlers/onpopstate/index.html b/files/ru/web/api/windoweventhandlers/onpopstate/index.html index 3177085f9d..5c168c1a61 100644 --- a/files/ru/web/api/windoweventhandlers/onpopstate/index.html +++ b/files/ru/web/api/windoweventhandlers/onpopstate/index.html @@ -13,7 +13,7 @@ translation_of: Web/API/WindowEventHandlers/onpopstate <p><strong>Примечание:</strong>, просто вызов <code>history.pushState()</code> или <code>history.replaceState()</code> не вызовет событие <code>popstate</code>. Событие <code>popstate</code> срабатывает только тогда, когда происходят какие то действия в браузере, такие как нажатие кнопки "назад" (или вызов <code>history.back()</code> из JavaScript). Это событие срабатывает только когда пользователь переходит между двумя записями истории одного и того же документа.</p> </div> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="syntaxbox notranslate">window.onpopstate = <var>funcRef</var>; </pre> @@ -22,7 +22,7 @@ translation_of: Web/API/WindowEventHandlers/onpopstate <li><code>funcRef</code> – функция обработчик.</li> </ul> -<h2 id="The_popstate_event" name="The_popstate_event">Примеры</h2> +<h2 id="The_popstate_event">Примеры</h2> <p>В качестве примера, страница <code>http://example.com/example.html</code>, исполняя нижеследующий код, сгенерирует всплывающие сообщения, как показано в комментариях:</p> @@ -40,7 +40,7 @@ history.go(2); // alerts "location: http://example.com/example.html?page=3, sta <p>Обратите внимание, что даже несмотря на то, что первоначальная запись истории (для <code>http://example.com/example.html</code>) не имеет объекта события, связанного с ней, событие <code>popstate</code> всё равно произойдёт, когда мы активируем эту запись после второго вызова <code>history.back()</code>.</p> -<h2 id="Specification" name="Specification">Спецификация</h2> +<h2 id="Specification">Спецификация</h2> <ul> <li><a href="http://www.whatwg.org/specs/web-apps/current-work/#handler-window-onpopstate">HTML5 popstate event</a></li> @@ -50,7 +50,7 @@ history.go(2); // alerts "location: http://example.com/example.html?page=3, sta <p>{{Compat("api.WindowEventHandlers.onpopstate")}}</p> -<h2 id="See_also" name="See_also">Смотрите также</h2> +<h2 id="See_also">Смотрите также</h2> <ul> <li>{{domxref("window.history")}}</li> |