Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

139
Visualizações
How to remove the autofocus feature from JQuery Terminal Plugin?

I'm making a basic HTML page that contains a JQuery Terminal that is located just beneath the first visible window, so you essentially just scroll down and then you can see the terminal.

My issue is that when my window loads, it always snaps the focus to the terminal instead of at the top of the page, so you have to scroll up to see the content that you're supposed to see on load.

What's the best way to fix this?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

jQuery Terminal is enabled by default. Which, because of hidden textarea or content editable on mobile, will always jump to the terminal if it's part of the bigger page and not a full-screen terminal.

To disabled this behavior use this:

$('#term').terminal(interpreter, {
   enabled: false
});

You can see this on jQuery Terminal Website code index.php#L567

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda