Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

134
Vistas
WIX JS - Custom Preloader Screen

I have got a site made with wix and I found this code that allows you for a custom preloader screen. It works fine, however it keeps triggering whenever the site is refreshed or you press the back button. Can I make it trigger only once every 10 minutes or once per session? If you have an idea on how to do it would you be kind enough to post your solution? I studied JS but it was long ago and in the end I gave up. Cheers!

$w.onReady(() => {
    waitForLoading();
});

export function button6_onClick() {
    $w('#lightbox1').show();
    waitForLoading();
}

function waitForLoading() {
    setTimeout(() => {
        $w('#lightbox1').hide('FadeOut');
    }, 1500);
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda