Menú alternativo
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición
Your voice matters, elections are happening now!
From November 7 to 17, you will have the opportunity to select the members of the group who will serve on the Board of Directors for the 2024-2030 term.

You’ve got until December 7 to vote on whether to go with the recommendation for the new General Coordinator.


Board of Directors election: Just log in if you haven't done it yet and cast your vote using this link!
Recommendation of the new General Coordinator: Read the proposal and cast your vote!

Diferencia entre revisiones de «MediaWiki:Vector.js»

Página de la interfaz de MediaWiki
imported>Jorge Abellán
Sin resumen de edición
imported>Jorge Abellán
Sin resumen de edición
Línea 1: Línea 1:
$(window).scroll(function(){
$("#show-panel").click(function() {
    if ($(this).scrollTop() > 50) {
$('#mw-panel').animate({opacity: '1',});
      $('#mw-panel').animate({opacity: '1',});
    $('#left-navigation').animate({opacity: '1',});
      $('#left-navigation').animate({opacity: '1',});
    $('#right-navigation').animate({opacity: '1',});
      $('#right-navigation').animate({opacity: '1',});
    $(".mw-body").animate({margin: '-1px auto auto 11em',});
      $(".mw-body").animate({margin: '-1px auto auto 11em',});
    } else {}
});
});



Revisión del 14:04 13 jun 2020

$("#show-panel").click(function() {
	$('#mw-panel').animate({opacity: '1',});
    $('#left-navigation').animate({opacity: '1',});
    $('#right-navigation').animate({opacity: '1',});
    $(".mw-body").animate({margin: '-1px auto auto 11em',});
});

$( "body.page-Página_principal #mw-head" ).prepend('<li id="show-panel">Mostrar panel</li>');

$(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&amp;action=edit&amp;redlink=1" class="new" title="Objetivos (la página no existe)">Objetivos</a></span><span class="button"><a href="/index.php?title=Eventos&amp;action=edit&amp;redlink=1" class="new" title="Eventos (la página no existe)">Eventos</a></span><span class="button"><a href="/index.php?title=Informes&amp;action=edit&amp;redlink=1" class="new" title="Informes (la página no existe)">Informes</a></span><span class="button"><a href="/index.php?title=Miembros&amp;action=edit&amp;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&amp;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&amp;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&amp;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&amp;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>' );
*/

/* MOSTRAR BARRA DE BÚSQUEDA AL PULSAR EN MENÚ EN EL ICONO DE BÚSQUEDA */
$("#buscar").click(function() {
	$("#p-search").slideToggle("fast");
});