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=DDn2ZaMxjp51ZVRhnbyGAoI8hSWjfYW3NdgNlYntNdNk1UYTTaV-9zJc4bpjKHckpf94iNPwIadDAcj6WtHhIGbTWTOvNVtzJlXKq5dODrYdYAYT6Dd1CQzWkXg3boued1qDt8arVwI0cK7kC3M2tZqh6h_9CIS-Fw1t4EMEuzk1&t=ffffffffe6d5a9ac"><\/script>');//]]>
</script>]]>
|
547
| <![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>]]>
|