diff options
Diffstat (limited to 'files/pl/mozilla/tech/xul/atrybut/disabled/index.html')
| -rw-r--r-- | files/pl/mozilla/tech/xul/atrybut/disabled/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/files/pl/mozilla/tech/xul/atrybut/disabled/index.html b/files/pl/mozilla/tech/xul/atrybut/disabled/index.html new file mode 100644 index 0000000000..ddc17391de --- /dev/null +++ b/files/pl/mozilla/tech/xul/atrybut/disabled/index.html @@ -0,0 +1,19 @@ +--- +title: disabled +slug: Mozilla/Tech/XUL/Atrybut/disabled +tags: + - Atrybuty_XUL + - Dokumentacja_XUL +translation_of: Archive/Mozilla/XUL/Attribute/disabled +--- +<div class="noinclude"><span class="breadcrumbs xulRefAttr_breadcrumbs">« <a href="/pl/docs/Dokumentacja_XUL">Dokumentacja XUL</a></span></div> +<dl><dt> <code id="a-disabled"><a href="https://developer.mozilla.org/pl/docs/Mozilla/Tech/XUL/Atrybut/disabled">disabled</a></code> +</dt><dd> Typ: <i>boolean</i> +</dd><dd> Określa, czy element jest wyłączony. Jeśli atrybut ten ma wartość <code>true</code>, to element będzie wyłączony. Wyłączone elementy zazwyczaj są wyszarzone. Jeśli element jest wyłączony, nie odpowiada na czynności użytkownika, nie może zostać na niego ustawiony focus, a zdarzenie <i>command</i> nie zostanie wywołane. <div class="noinclude">Element nadal jednak będzie odpowiadać na zdarzenia myszy. Aby włączyć dany element, atrybut ten musi być pominięty lub przyjąć wartość <code>false</code>. +</div></dd></dl> +<div class="float-right"><img alt="grafika:XUL_ref_attr_disabled.png"></div> +<pre><!-- Pole wyboru włącza/wyłącza przycisk --> +<checkbox label="Enable button" + onclick="document.getElementById('buttRemove').disabled = this.checked"/> +<button id="buttRemove" label="Remove All" disabled="true"/> +</pre> |
