506
| <![CDATA[<script type="text/javascript">
function reloadAcessoRapido(pesquisa, reloadData){
var timeOutLoad;
$.ajax({
url: 'index.acesso.rapido.ajax.inc.php?input_pesquisa='+pesquisa,
beforeSend: function(xhr){
timeOutLoad = setTimeout(function(){
$(reloadData).html('<div class="col-12 text-center"><i class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></i><span class="sr-only">Carregando...</span></div>');
}, 250);
}
}).done(function(data){
clearTimeout(timeOutLoad);
$(reloadData).html(data);
});
}
$(document).ready(function(){
$('input[name="input_filter_acesso_rapido"]').on('keyup',function(){
var value = $(this).val().toLowerCase();
reloadAcessoRapido(value, '#reloadAcessoRapido');
});
});
</script>]]>
|
560
| <![CDATA[<script type="text/javascript">
/* Script de retorno de dados pesquisados */
$(document).ready(function(){
/* Slick de acesso rapido */
$('.slick-acesos-rapido').slick({
rows: 2,
slidesPerRow: 4,
autoplay: true,
arrows: false,
dots: false,
infinite: true,
autoplaySpeed: 5000,
responsive: [
{
breakpoint: 1025,
settings: {
rows: 2,
slidesPerRow: 4,
slidesToScroll: 4,
dots: false
}
},
{
breakpoint: 801,
settings: {
rows: 2,
slidesPerRow: 3,
dots: true
}
},
{
breakpoint: 641,
settings: {
rows: 2,
slidesPerRow: 2,
dots: true
}
},
{
breakpoint: 481,
settings: {
rows: 2,
slidesPerRow: 2,
arrows: false,
dots: true,
infinite: true
}
},
{
breakpoint: 426,
settings: {
rows: 2,
slidesPerRow: 1,
arrows: false,
dots: true,
infinite: true
}
},
{
breakpoint: 320,
settings: {
arrows: false,
infinite: true,
dots: true
}
}
]
});
});
</script>]]>
|