(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
#btn-enviar {
font-size: 30px;
color: #fff;
background-color: blue;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
display: inline-block;
}
body {
font-family: Arial, sans-serif;
}
form {
width: 350px;
margin: 0 auto;
}
label {
display: block;
margin-bottom: 5px;
}
input[type=”text”], input[type=”file”] {
padding: 5px;
width: 100%;
height: 40px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 3px;
}
textarea {
padding: 5px;
width: 100%;
height: 150px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 3px;
resize: none;
}
input[type=”submit”] {
font-size: 30px;
color: #fff;
background-color: blue;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
display: inline-block;
}
window.onload = function() {
document.getElementById(“formulario”).addEventListener(“submit”, function(e) {
e.preventDefault();
// Redireciona diretamente após o envio do formulário
window.location.href = “https://www.pontualvagas.com.br/p/curriculo-enviado_17.html”;
});
document.getElementById(“btn-enviar”).addEventListener(“click”, function() {
document.getElementById(“formulario”).style.display = “block”;
});
};
ATENÇÃO:
Para essa vaga você deverá enviar currículo no Formulário, Feche essa mensagem no ‘X’ logo acima.
#balao {
position: fixed;
top: 82%;
left: 40%;
transform: translate(-50%, -50%);
width: 310px;
height: 300px;
border: 0px solid black;
background-color: #42e3f5;
padding: 20px;
box-sizing: border-box;
text-align: center;
z-index: 9999;
}
#balao {
margin: 0;
font-size: 21px;
line-height: 1.4;
text-align: center;
}
#fechar {
position: absolute;
top: -3px;
right: -1px;
font-size: 18px; /* Mantém o tamanho da fonte */
font-weight: 300; /* Torna o texto mais fino */
color: #0335fc;
cursor: pointer;
font-family: Roboto, sans-serif; /* Garantir que a fonte seja adequada */
}
const balao = document.querySelector(‘#balao’);
const fechar = document.querySelector(‘#fechar’);
let numCliques = 0; // variável para contar os cliques
// Trava a barra de rolagem
document.body.style.overflow = ‘hidden’;
fechar.addEventListener(‘click’, () => {
numCliques++; // incrementa o número de cliques
if (numCliques >= 2) { // fecha o balão se o número de cliques for maior ou igual a 2
// Destrava a barra de rolagem após o balão ser fechado
document.body.style.overflow = ‘auto’;
balao.style.display = ‘none’;
}
});