|
|
(No se muestran 90 ediciones intermedias de 2 usuarios) |
Línea 1: |
Línea 1: |
| $(window).scroll(function(){
| |
| if ($(this).scrollTop() > 130) {
| |
| $('#nav').addClass('pinned');
| |
| } else {
| |
| $('#nav').removeClass('pinned');
| |
| }
| |
| });
| |
|
| |
|
|
| |
| /* AÑADIR AUTOMÁTICAMENTE EL MENÚ A TODAS LAS PÁGINAS
| |
| $( "#firstHeading" ).before( '<div id="nav" class="top-nav plainlinks"><div class="flex"><div class="logo-container"><p><a href="/wiki/Usuario:Jorge_Abell%C3%A1n/WikiSP" title="Inicio"><img alt="Inicio" src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Wikisp-logo-horizontal.svg/langes-200px-Wikisp-logo-horizontal.svg.png" decoding="async" width="200" height="51" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Wikisp-logo-horizontal.svg/langes-300px-Wikisp-logo-horizontal.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Wikisp-logo-horizontal.svg/langes-400px-Wikisp-logo-horizontal.svg.png 2x" data-file-width="769" data-file-height="195"></a></p></div><p><span class="button"><a href="/index.php?title=Objetivos&action=edit&redlink=1" class="new" title="Objetivos (la página no existe)">Objetivos</a></span><span class="button"><a href="/index.php?title=Eventos&action=edit&redlink=1" class="new" title="Eventos (la página no existe)">Eventos</a></span><span class="button"><a href="/index.php?title=Informes&action=edit&redlink=1" class="new" title="Informes (la página no existe)">Informes</a></span><span class="button"><a href="/index.php?title=Miembros&action=edit&redlink=1" class="new" title="Miembros (la página no existe)">Miembros</a></span><span class="button join">Únete</span></p><div class="vectorMenu"><p><span class="button join"><img alt="OOjs UI icon expand-invert.svg" src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/OOjs_UI_icon_expand-invert.svg/langes-20px-OOjs_UI_icon_expand-invert.svg.png" decoding="async" width="20" height="20" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/OOjs_UI_icon_expand-invert.svg/langes-30px-OOjs_UI_icon_expand-invert.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/OOjs_UI_icon_expand-invert.svg/langes-40px-OOjs_UI_icon_expand-invert.svg.png 2x" data-file-width="20" data-file-height="20"></span></p><ul class="menu"><li id="ca-view"><a rel="nofollow" class="external text" href="https://habbnet.ml/wiki/P%C3%A1gina_principal">Leer</a></li><li id="ca-edit"><a rel="nofollow" class="external text" href="https://habbnet.ml/index.php?title=P%C3%A1gina_principal&action=edit">Editar</a></li><li id="ca-history"><a rel="nofollow" class="external text" href="https://habbnet.ml/index.php?title=P%C3%A1gina_principal&action=history">Ver historial</a></li><li id="ca-delete"><a rel="nofollow" class="external text" href="https://habbnet.ml/index.php?title=P%C3%A1gina_principal&action=delete">Borrar</a></li><li id="ca-move"><a rel="nofollow" class="external text" href="https://habbnet.ml/wiki/Especial:MoverP%C3%A1gina/P%C3%A1gina_principal">Trasladar</a></li><li id="ca-protect"><a rel="nofollow" class="external text" href="https://habbnet.ml/index.php?title=P%C3%A1gina_principal&action=protect">Proteger</a></li></ul></div><p><span class="button join"><a href="/wiki/" title=""><img alt="OOjs UI icon search-ltr-invert.svg" src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/OOjs_UI_icon_search-ltr-invert.svg/langes-20px-OOjs_UI_icon_search-ltr-invert.svg.png" decoding="async" width="20" height="20" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/OOjs_UI_icon_search-ltr-invert.svg/langes-30px-OOjs_UI_icon_search-ltr-invert.svg.png 1.5x, https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/OOjs_UI_icon_search-ltr-invert.svg/langes-40px-OOjs_UI_icon_search-ltr-invert.svg.png 2x" data-file-width="20" data-file-height="20"></a></span></p></div></div>' );
| |
| */
| |
| /*
| |
| $( "body" ).on('click', '#buscar', function() {
| |
| $( "#buscar" ).toggle(
| |
| function(){
| |
| $( "#buscar" ).before('<div id="p-search" role="search"><h3><label for="searchInput">Buscar</label></h3><form action="/index.php" id="searchform"><input type="search" name="search" placeholder="Buscar en Wikimedia Small Projects" title="Buscar en Wikimedia Small Projects [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off"><input type="hidden" value="Especial:Buscar" name="title"><input type="submit" name="go" value="Ir" title="Ir a la página con este nombre exacto si existe" id="searchButton" class="searchButton"></div></form></div>');
| |
| });
| |
| }); */
| |
|
| |
| $("#buscar").click(function() {
| |
| $("#p-search").toggle("slow");
| |
| });
| |
Recommendation of the new General Coordinator: Read the proposal and cast your vote!