Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Postado

Olá pessoal,

A alguns dias venho procurando uma solução para este probleminha que estou tendo com transição de páginas com jQuery. Pois bem, estou usando um script que encontrei em um fórum especializado em jQuery (veja abaixo), ele fica responsável por esconder uma página (ao clicar no link para a outra página) e por exibir a nova página após carregada.

Entretanto, neste período de transição é exibido um "flash" branco na tela e eu gostaria de removê-lo, haveria como?

$("body").fadeIn(2000);

$("a").click(function(event){

event.preventDefault();

link = this.href;

$("body").fadeOut(1000, function(){

window.location = link;

});

});


Postado

Olá,

Esse flash é o efeito Fade, no seu caso é o FadeIn.

Remova a linha: $("body").fadeIn(2000);


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.