aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/window/confirm/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/window/confirm/index.html')
-rw-r--r--files/ru/web/api/window/confirm/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/api/window/confirm/index.html b/files/ru/web/api/window/confirm/index.html
index 9fa02f5393..416df06cb6 100644
--- a/files/ru/web/api/window/confirm/index.html
+++ b/files/ru/web/api/window/confirm/index.html
@@ -7,7 +7,7 @@ translation_of: Web/API/Window/confirm
<p><code><font face="Open Sans, Arial, sans-serif">Метод </font><strong>Window.confirm() </strong></code>отображает диалоговое окно, которое содержит две кнопки (OK и Cancel), а так же опциональное (необязательное) текстовое сообщение.</p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre><em>result</em> = window.confirm(<em>message</em>);
</pre>
@@ -17,7 +17,7 @@ translation_of: Web/API/Window/confirm
<li><code>result</code> булево значение, указывающее на нажатую кнопку OK или Cancel (<code>true</code> означает OK).</li>
</ul>
-<h2 id="Example" name="Example">Пример</h2>
+<h2 id="Example">Пример</h2>
<pre>if (window.confirm("Do you really want to leave?")) {
window.open("exit.html", "Thanks for Visiting!");
@@ -29,7 +29,7 @@ translation_of: Web/API/Window/confirm
<p><img alt="firefox confirm" src="https://mdn.mozillademos.org/files/7163/firefoxcomfirmdialog_zpsf00ec381.png" style="height: 119px; width: 354px;"><br>
 </p>
-<h2 id="Notes" name="Notes">Примечания</h2>
+<h2 id="Notes">Примечания</h2>
<p>Окна сообщений - модальные, они препятствуют получению пользователем доступа к другим частям страницы до тех пор, пока окно не будет закрыто. По этой причине, вам не следует злоупотреблять этой функцией. Более того, существуют более веские причины <a href="http://alistapart.com/article/neveruseawarning">избегать использования диалоговых окон для подтверждения действий пользователя</a>.</p>
@@ -39,7 +39,7 @@ translation_of: Web/API/Window/confirm
<p>{{gecko_minversion_inline("23.0")}} Аргумент является опциональным и необязательным согласно спецификации.</p>
-<h2 id="Specification" name="Specification">Спецификация</h2>
+<h2 id="Specification">Спецификация</h2>
<table class="standard-table">
<tbody>
@@ -62,7 +62,7 @@ translation_of: Web/API/Window/confirm
<p>{{Compat("api.Window.confirm")}}</p>
-<h2 id="See_also" name="See_also">Смотрите также</h2>
+<h2 id="See_also">Смотрите также</h2>
<ul>
<li>{{domxref("window.alert","alert")}}</li>