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>]]>
|
164
| <![CDATA[<script type="text/javascript">
//<![CDATA[
setTimeout(function () { $('#txt_data_inicio').prop('type','date'); $('#txt_data_final').prop('type','date'); }, 500);//]]>
</script>]]>
|
170
| <![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>]]>
|
769
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
soundControl();
});
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (prm != null) {
prm.add_endRequest(function (sender, e) {
if (sender._postBackSettings.panelsToUpdate != null) {
soundControl()
}
});
};
function soundControl() {
$('div[rel^="group"]').on('hide.bs.modal', function (e) {
var _sounds = $('audio[rel^="embed"]');
for (i = 0; i < _sounds.length; i++) {
_sounds[i].pause(); _sounds[i].currentTime = 0;
}
});
}
function pauseVideo() {
$('.videoMP4').trigger('pause');
}
</script>]]>
|