66
| <![CDATA[<script type="text/javascript">
function ShowToatr(tipo, texto) {
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-right",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "0",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
};
toastr[tipo](texto);
}
</script>]]>
|
109
| <![CDATA[<script>
$(function () {
if ($('.head-to-fixed').length) {
$('.body-fixed-content').html("<div class='kt-portlet'><div class='kt-portlet__head'>" + $('.head-to-fixed').html() + "</div></div>").hide();
const el_position_top = $('.head-to-fixed').offset().top;
const el_height = $('.head-to-fixed').outerHeight();
const width_window = $(window).width();
$(window).scroll(function () {
var scroll_top = $(window).scrollTop();
if (scroll_top > (el_position_top + el_height) && width_window > 576) {
$('.body-fixed-content').fadeIn('fast');
} else {
$('.body-fixed-content').fadeOut('fast');
}
});
}
});
</script>]]>
|
144
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
$(".chosen").chosen({
search_contains: true,
no_results_text: "Sem resultados para",
placeholder_text_single: "Selecione",
placeholder_text_multiple: "Selecione"
});
$("#formulario").validationEngine();
});
</script>]]>
|
173
| <![CDATA[<script type="text/javascript">
//<![CDATA[
(window.Sys && Sys._Application && Sys.Observer)||document.write('<script type="text/javascript" src="/ScriptResource.axd?d=Gqm3YSwtHhp-cdxYRmvbO2vOC86ER5HMr_rEYGrg2DNRVqMGI5NTiYjtTGOL3ogNLLp2JS8YA9EBxrJeOKLOlXQfrCUgJwhX_AGhf6Tt-fZ9LwUn35b-plNyMl48zae9kgFQ1GNdCJEHabdHoV7-nDWjO7KouEbRhScrZ0z1qZ01&t=ffffffffe6d5a9ac"><\/script>');//]]>
</script>]]>
|
756
| <![CDATA[<script type="text/javascript">
$(function () {
$('#termos_add').on('click', function (e) {
e.preventDefault();
$('#termos').append('<div class="form-group termo_added">' +
'<div class="input-group">' +
'<div class="input-group-btn">' +
'<button type="button" class="btn btn-sm dropdown-toggle" data-toggle="dropdown"><span>OU</span> ;<i class="caret"></i></button>' +
'<ul class="dropdown-menu pull-left termo_condicao_drop">' +
'<li><a href="#" data-value="1" data-texto="OU">OU</a></li>' +
'<li><a href="#" data-value="2" data-texto="E">E</a></li>' +
'<li><a href="#" data-value="3" data-texto="EXCETO">EXCETO</a></li>' +
'</ul>' +
'</div>' +
'<input type="hidden" class="hid_termos_condicao" name="termos_condicao[]" value="1">' +
'<input type="text" class="form-control form-control-sm" name="termos[]">' +
'<a href="#" class="termo_remove input-group-addon btn btn-sm btn-xs btn-danger"> <i class="fa fa-lg fa-minus-circle" data-toggle="tooltip" data-placement="left" title="Remover termo da pesquisa"></i> </a>' +
'</div>' +
'</div>');
});
$('#termos').on('click', '.termo_remove', function (e) {
e.preventDefault();
$(this).parents('.termo_added').remove();
});
$('#termos').on('click', '.termo_condicao_drop li a', function (e) {
e.preventDefault();
$(this).parents('.termo_added').find('button span').text($(this).attr('data-texto'));
$(this).parents('.termo_added').find('.hid_termos_condicao').val($(this).attr('data-value'));
});
$('[data-toggle="popover"]').popover({ trigger: "hover" });
});
</script>]]>
|