|
|
(No se muestran 24 ediciones intermedias de 2 usuarios) |
Línea 1: |
Línea 1: |
| $(".ns-3000 #firstHeading, .ns-1 #firstHeading, .ns-2 #firstHeading, .ns-3 #firstHeading, .ns-4 #firstHeading, .ns-5 #firstHeading, .ns-6 #firstHeading, .ns-7 #firstHeading, .ns-8 #firstHeading, .ns-9 #firstHeading, .ns-10 #firstHeading, .ns-11 #firstHeading, .ns-12 #firstHeading, .ns-13 #firstHeading, ns-14 #firstHeading, .ns-15 #firstHeading, .ns--1 #firstHeading, .ns--2 #firstHeading")
| |
| .before('<div class="logo-container" style="z-index:9999"><a href="/wiki/P%C3%A1gina_principal" 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></div>');
| |
|
| |
|
| $("#p-cactions").after('<div class="mw-search-form-wrapper"><form id="search" action="/index.php" method="get"><div id="mw-search-top-table"><div class="oo-ui-layout oo-ui-fieldLayout oo-ui-fieldLayout-align-top oo-ui-actionFieldLayout"><div class="oo-ui-fieldLayout-body"><label class="oo-ui-labelElement-label" for="ooui-php-1"></label><div class="oo-ui-fieldLayout-field"><div class="oo-ui-actionFieldLayout-input"><div id="searchText" class="oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-iconElement oo-ui-textInputWidget oo-ui-textInputWidget-type-text mw-widget-titleWidget oo-ui-lookupElement mw-widget-titleInputWidget mw-widget-searchInputWidget oo-ui-textInputWidget-type-search" aria-disabled="false" data-ooui=""><input id="ooui-php-1" class="oo-ui-inputWidget-input" tabindex="0" role="combobox" autocomplete="off" name="search" type="search" value="" aria-disabled="false" aria-expanded="false" aria-owns="ooui-1" aria-autocomplete="list" /></div></div><span class="oo-ui-actionFieldLayout-button"><span class="oo-ui-widget oo-ui-widget-enabled oo-ui-inputWidget oo-ui-buttonElement oo-ui-buttonElement-framed oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-flaggedElement-primary oo-ui-buttonInputWidget" aria-disabled="false"><button class="oo-ui-inputWidget-input oo-ui-buttonElement-button" tabindex="0" type="submit" value="" aria-disabled="false"><span class="oo-ui-labelElement-label">Buscar</span></button></span></span></div></div></div><input name="title" type="hidden" value="Especial:Buscar" /><input name="profile" type="hidden" value="default" /><input name="fulltext" type="hidden" value="1" /></div></form></div>');
| |
|
| |
|
| |
|
| |
|
| |
| $( "#mw-head" ).prepend('<li id="show-panel">Mostrar panel</li>');
| |
|
| |
| $("#show-panel").click(function(){
| |
| if ($('#mw-panel').is(":visible")) {
| |
| $('#mw-panel').hide('slide');
| |
| $(".mw-body").animate({margin: '-1px auto auto 0',});
| |
| $("#show-panel").text("Mostrar panel");
| |
| $("#footer").animate({margin: '0 0 0 1em',});
| |
| $("#left-navigation").animate({margin: '4.3em auto auto 18em',});
| |
|
| |
| } else {
| |
| $('#mw-panel').show('slide');
| |
| $(".mw-body").animate({margin: '-1px auto auto 11em',});
| |
| $("#show-panel").text("Ocultar panel");
| |
| $("#footer").animate({margin: '0 0 0 11em',});
| |
| $("#left-navigation").animate({margin: '4.3em auto auto 29em',});
| |
| }
| |
| });
| |
|
| |
| $(window).scroll(function(){
| |
| if ($(this).scrollTop() > 130) {
| |
| $('#nav').addClass('pinned');
| |
| } else {
| |
| $('#nav').removeClass('pinned');
| |
| }
| |
| });
| |
|
| |
| /* MOSTRAR BARRA DE BÚSQUEDA AL PULSAR EN MENÚ EN EL ICONO DE BÚSQUEDA */
| |
| $('#searchinput').hide();
| |
| $("#buscar").click(function() {
| |
| $("#searchinput").slideToggle("fast");
| |
| });
| |