Skip to content

Instantly share code, notes, and snippets.

View dantetesta's full-sized avatar

DANTE TESTA dantetesta

View GitHub Profile
<script>
jQuery(document).ready(function($) {
var delay = 100; setTimeout(function() {
$('.elementor-tab-title').removeClass('elementor-active');
$('.elementor-tab-content').css('display', 'none'); }, delay);
});
</script>
local: body end
<script>
jQuery( document ).ready(function() {
//DECLARE OS CAMPOS QUE PRECISA DESEJA IGNORAR O TAB SEQUIDO DE VIRGULA
jQuery('#campo5, #campo6').attr('tabindex', '-1');
//DECLARE OS CAMPOS QUE PRECISA ORGANIZAR A SEQUENCIA DE TABS UM ABAIXO DO OUTRO
jQuery('#campo1').attr('tabindex', '1');
jQuery('#campo2').attr('tabindex', '2');
jQuery('#campo3').attr('tabindex', '3');
<script>
jQuery( document ).ready(function() {
//Declare os campos que não quer permitir edição.
jQuery('#campo1, #campo2, #campo3').prop('readonly', true);
});
<style>
.filtro-comprar, .filtro-alugar{ display:none; }
</style>
<script>
jQuery( document ).ready(function() {
jQuery('select[name="finalidade"]').on('change', function() {
var opcdestino = jQuery(this).val();
/* Esse CSS muda a cor dos textos quando selecionados */
::selection {
background: #F79799;
color: #fff;
}
Adicione isso no CSS personalizado do WordPress
https://fontawesome.com/v4/icons/
https://fontawesome.com/v5/search
Adicione esse CSS no componente NAV do elementor ou no CSS editor do Wordpress
a i.ico-menu {
padding: 14px 10px 10px 10px;
width: 50px;
height: 50px;
/*BY: ASK JARVIS + DANTE TESTA */
REMOVE AS VARIAÇÕES PRIVADAS EVITANDO APARECER NO FRONT NA LISTA DE PRODUTOS DA VARIAÇÃO
var list = document.querySelectorAll('.linked-variations-buttons li.linked-variations-item');
for (var i = 0; i < list.length; i++) {
var link = list[i].querySelector('a');
if (link) {
<style>
#dante-testa-map-svg path {
fill: #333333;
}
#dante-testa-map-svg text {
fill: #fff;
font: 14px Arial-BoldMT, sans-serif;
cursor: pointer;
}
/*BY: ASK JARVIS + DANTE TESTA */
<style>#uf-list,#htmlcode{ display: none; }</style>
<script>
/*
Script Desenvolvido por: Dante Testa com ajuda do ASK Jarvis gerador de scripts com inteligência artificial.
Data: 06/05/2022
*/
var estado = document.querySelectorAll('#dante-testa-map-svg .estado');
<style>
#dante-testa-map-svg path {
fill: #333333;
}
#dante-testa-map-svg text {
fill: #fff;
font: 14px Arial-BoldMT, sans-serif;
cursor: pointer;
}