Deprecated: Optional parameter $prefix declared before required parameter $code is implicitly treated as a required parameter in /home/users/jogger/ftp/wiki/languages/Language.php on line 4199
Deprecated: Return type of ExplodeIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/utils/StringUtils.php on line 576
Deprecated: Return type of ExplodeIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/utils/StringUtils.php on line 590
Deprecated: Return type of ExplodeIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/utils/StringUtils.php on line 583
Deprecated: Return type of ExplodeIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/utils/StringUtils.php on line 609
Deprecated: Return type of ExplodeIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/utils/StringUtils.php on line 558
Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/db/DatabaseUtility.php on line 197
Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/db/DatabaseUtility.php on line 215
Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/db/DatabaseUtility.php on line 208
Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/db/DatabaseUtility.php on line 225
Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/users/jogger/ftp/wiki/includes/db/DatabaseUtility.php on line 186
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/users/jogger/ftp/wiki/languages/LanguageConverter.php on line 711
Warning: A skin using autodiscovery mechanism, Chick, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 131] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: A skin using autodiscovery mechanism, Nostalgia, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 131] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: An old copy of the Vector skin was found in your skins/ directory. You should remove it to avoid problems in the future.See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for details. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 123] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: An old copy of the CologneBlue skin was found in your skins/ directory. You should remove it to avoid problems in the future.See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for details. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 123] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: A skin using autodiscovery mechanism, Simple, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 131] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: An old copy of the Modern skin was found in your skins/ directory. You should remove it to avoid problems in the future.See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for details. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 123] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: An old copy of the MonoBook skin was found in your skins/ directory. You should remove it to avoid problems in the future.See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for details. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 123] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: A skin using autodiscovery mechanism, MySkin, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 131] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Warning: A skin using autodiscovery mechanism, Standard, was found in your skins/ directory. The mechanism will be removed in MediaWiki 1.25 and the skin will no longer be recognized. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for information how to fix this. [Called from SkinFactory::getLegacySkinNames in /home/users/jogger/ftp/wiki/includes/skins/SkinFactory.php at line 131] in /home/users/jogger/ftp/wiki/includes/debug/MWDebug.php on line 302
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/users/jogger/ftp/wiki/includes/WebResponse.php on line 37
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/users/jogger/ftp/wiki/includes/WebResponse.php on line 37
Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/users/jogger/ftp/wiki/includes/WebResponse.php on line 37 http://wiki.jogger.pl/api.php?action=feedcontributions&user=83.238.20.12&feedformat=atomJoggerWiki - Wkład użytkownika [pl]2024-03-28T16:33:47ZWkład użytkownikaMediaWiki 1.24.1http://wiki.jogger.pl/index.php?title=Pokaz_Ukryj&diff=1585Pokaz Ukryj2006-03-16T13:10:35Z<p>83.238.20.12: zmieniłem znaczniki lista.... na identyfikatory lista... i dopisałem identyfikator przy "zapamiętaj"</p>
<hr />
<div>Na początku przyjmijmy iż zmienne <em> lista1 lista2 etc.</em> mogą być definiowane w dowolny sposób, lecz nie mogą się różnić tj. Jeśli w sekcji <b>a href</b> użyjemy <b>lista1</b> to poniżej w sekcji <b> div</b> musi także być <b>lista1</b>. <br />
Przy każdej nowej liście musi być określony nowy znacznik (np. jeśli użyliśmy już lista1, to możemy użyć lista2).<br />
Warto pamiętać iż każdy ze znaczników (lista1, lista2 ect) musi mieć swoje odwołanie w kodzie css.<br />
<br />
W sekcję &lt;HEAD&gt; wklejamy:<br />
<br />
<pre><br />
&lt;script language="Javascript"&gt;<br />
&lt;!--<br />
function pokazAlboUkryj(co) { <br />
var obiekt = document.getElementById(co); <br />
if (obiekt.style.display == 'block') { <br />
obiekt.style.display = 'none'; <br />
} else { <br />
obiekt.style.display = 'block'; <br />
} <br />
}<br />
--&gt;<br />
&lt;/script&gt;<br />
</pre><br />
W sekcję &lt;BODY&gt; (czyli tam gdzie ma być rozwijana lista) :<br />
<pre><br />
&lt;a href="#lista1" onclick="pokazAlboUkryj('lista1'); return false;"&gt;tekst&lt;/a&gt; <br />
&lt;div id="lista1"&gt;<br />
//tu umieszczamy nasz tekst, który ma się ukazać po kliknięciu//<br />
&lt;/div&gt;<br />
</pre><br />
<b> Zapamiętaj! <br />
Zmienna lista1 w <code>a onclick</code> i identyfikator <code>div</code> muszą być takie same</b><br />
<br />
Jeszcze wystarczy dodać kod w plik stylu (css)<br />
<pre><br />
#lista1, #lista2, #lista3, #lista3, #lista4<br />
{<br />
display: none;<br />
} </pre><br />
<br />
// Identyfikatory lista1, lista2, lista3 itp. są użyte przykładowo.</div>83.238.20.12 Deprecated: header(): Passing null to parameter #3 ($response_code) of type int is deprecated in /home/users/jogger/ftp/wiki/includes/WebResponse.php on line 37