Network News

jQuery(document).ready(function($) { // --- Referencias a los elementos --- const $btnToggle = $('.btn-toggle-filters'); const $buttonText = $btnToggle.find('.elementor-button-text'); const $filters = $('.form-wrapper'); const $gridElement = $('.elementor-element-5f973bb'); const $loopContainer = $('.elementor-loop-container'); // --- CÓDIGO PARA EL ESTADO INICIAL EN MÓVIL --- const isMobileOnLoad = window.matchMedia("(max-width: 1024px)").matches; if (isMobileOnLoad) { // 1. Añadimos la clase 'closed' y ocultamos con display:none para que empiece cerrado $filters.addClass('closed').css('display', 'none'); // 2. Ponemos el texto correcto en el botón $buttonText.text('Mostrar filtros'); } // --- LÓGICA DEL CLIC --- $btnToggle.on('click', function(e) { e.preventDefault(); const isMobileOnClick = window.matchMedia("(max-width: 1024px)").matches; // Lógica para mostrar/ocultar filtros en móvil if (isMobileOnClick) { $filters.addClass('mobile-animation'); if ($filters.hasClass('closed')) { // Mostrar $filters.removeClass('closed').css({ display: 'block', opacity: 0 }); setTimeout(() => { $filters.addClass('opening'); $buttonText.text('Ocultar filtros'); }, 10); setTimeout(() => { $filters.removeClass('opening').css({ opacity: '', display: '' }); }, 310); } else { // Ocultar $filters.addClass('closing'); setTimeout(() => { $filters.removeClass('closing').addClass('closed').css({ display: 'none' }); $buttonText.text('Mostrar filtros'); }, 300); } } else { // Lógica para mostrar/ocultar filtros en escritorio $filters.toggleClass('closed'); $buttonText.text($filters.hasClass('closed') ? 'Mostrar filtros' : 'Ocultar filtros'); } // Lógica para cambiar las columnas del grid if ($gridElement.hasClass('elementor-grid-3')) { $gridElement.removeClass('elementor-grid-3').addClass('elementor-grid-4'); $loopContainer.removeClass('elementor-grid-3').addClass('elementor-grid-4'); } else { $gridElement.removeClass('elementor-grid-4').addClass('elementor-grid-3'); $loopContainer.removeClass('elementor-grid-4').addClass('elementor-grid-3'); } }); });
Filters
Publication date
Picture of admin
admin

23 Mar 2026

CELEBRE

Project led by FACSA to recover cellulose, such as toilet paper, from wastewater and urban...

Picture of admin
admin

23 Mar 2026

BIGPREDIDATA

The company Azufrera y Fertilizantes Pallarés, S.A. (AFEPASA) has commissioned AINIA to develop strategies for...

Picture of admin
admin

23 Mar 2026

SUPRALEM

Research and development of new alternative protein sources through the cultivation of biomass such as...

Subscribe to our newsletter and discover all the latest news

Receive the latest updates on innovation, technology and trends directly in your inbox.

Picture of admin
admin

23 Mar 2026

PREVENCPACK

The project addresses innovative solutions through edible coatings and packaging to preserve food quality and...

Picture of admin
admin

23 Mar 2026

ARTEMISA

The companies ENSIS and MAHOU are collaborating in this consortium project focused on the research...

Picture of admin
admin

23 Mar 2026

BLOOD4GOOD

This project aims to valorise pig slaughterhouse blood in order to obtain a powdered protein...

Picture of admin
admin

23 Mar 2026

SMARTCLEAN_IA

The project developed by the company CLEANITY, with the support of AINIA, involves the design...