17
| <![CDATA[<script>
var baseUrl = '';
var serverUrl = 'http://expofeiras.gov.br';
var dateToday = '07/10/2020';
var locale = 'pt_BR';
var messages = [];
var populateForm = [];
var translate = {"required":"Por favor, preencher campo(s) obrigat\u00f3rio(s).","remote":"Por favor, corrija este campo.","email":"Por favor, forne\u00e7a um endere\u00e7o eletr\u00f4nico v\u00e1lido.","url":"Por favor, forne\u00e7a uma URL v\u00e1lida.","date":"Por favor, forne\u00e7a uma data v\u00e1lida.","dateISO":"Por favor, forne\u00e7a uma data v\u00e1lida.","number":"Por favor, forne\u00e7a um n\u00famero v\u00e1lida.","digits":"Por favor, forne\u00e7a somente d\u00edgitos.","creditcard":"Por favor, forne\u00e7a um cart\u00e3o de cr\u00e9dito v\u00e1lido.","equalTo":"Por favor, forne\u00e7a o mesmo valor novamente.","accept":"Por favor, forne\u00e7a um valor com uma extens\u00e3o v\u00e1lida.","maxlength":"Por favor, forne\u00e7a n\u00e3o mais que {0} caracteres.","minlength":"Por favor, forne\u00e7a ao menos {0} caracteres.","rangelength":"Por favor, forne\u00e7a um valor entre {0} e {1} caracteres de comprimento.","range":"Por favor, forne\u00e7a um valor entre {0} e {1}.","max":"Por favor, forne\u00e7a um valor menor ou igual a {0}.","min":"Por favor, forne\u00e7a um valor maior ou igual a {0}.","cpfCnpj":"Por favor, forne\u00e7a um cpf\/cnpj v\u00e1lido.","cpf":"Por favor, forne\u00e7a um cpf v\u00e1lido.","cnpj":"Por favor, forne\u00e7a um cnpj v\u00e1lido.","beforeDate":"A data inicial n\u00e3o pode ser maior que a data final.","afterDate":"A data inicial n\u00e3o pode ser maior que a data final.","time":"Por favor, forne\u00e7a uma hora v\u00e1lida.","beforeDateToday":"A data n\u00e3o pode ser menor que a data de hoje.","afterTime":"O hor\u00e1rio final n\u00e3o pode ser maior que o hor\u00e1rio inicial.","invalidCaptcha":"Captcha inv\u00e1lida","containerMessage":"Preencha corretamente o(s) campo(s) marcado(s)","maximoDe":"m\u00e1ximo de","caracteres":"caracteres","perguntas-frequentes-expandir":"Expandir todas","perguntas-frequentes-fechar":"Recolher todas","perguntas-e-respostas-editSucesso":"Pergunta e Resposta Editada com Sucesso","perguntas-e-respostas-saveSucesso":"Pergunta e Resposta Inserida com Sucesso","msgAguarde":"Carregando...","msgDescadastrar":"Descadastrar","msgDescadastrarEmail":"Descadastrar e-mail","monthNames":["Janeiro","Fevereiro","Mar\u00e7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],"monthNamesShort":["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov.","Dez"],"dayNamesMin":["D","S","T","Q","Q","S","S"]};
var urlVoltar = {"referer":false,"uri":"\/index"};
var sistemName = 'Sistema de Exposições e Feiras';
var isMobile = false; //initiate as false
// device detection
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
|| /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0, 4))) {
isMobile = true;
}
</script>]]>
|
326
| <![CDATA[<script>
jQuery(function ($) {
$(".custom-toggler").click(function () {
if ($(this).parent('div').hasClass('show')) {
$('.custom-toggler i').toggleClass('fa-bars fa-times');
} else {
$('.custom-toggler i').toggleClass('fa-bars fa-times');
}
});
});
/*$(document).ready(function () {
$.notify($(window).width()+' px', "success"); // returns width of browser viewport
$(window).resize(function(){
$.notify($(window).width()+' px', "success"); // returns width of browser viewport
$.notify($(document).width()+' px', "success"); // returns width of HTML document
});
});*/
$(function () {
$("header li.nav-item a").each(function () {
if ($(this).attr("href") == window.location.pathname) {
$(this).parent().addClass('active');
}
});
});
function printData() {
var pageTitle = 'Inicio';
var divToPrint = document.getElementById("printTable");
var imgToPrint = $("img.logo-img").map(function () {
return $(this).parent().html();
}).get();
var txtToPrint = $("span.logo-title").map(function () {
return $(this).parent().html();
}).get();
var tabAtiva = $("li.nav-item .active").map(function () {
return $(this).parent().html();
}).get();
newWin = window.open("");
newWin.document.write('<p style="text-align: center">' + sistemName + '</p>');
newWin.document.write(imgToPrint);
newWin.document.write(txtToPrint);
newWin.document.write('<br>');
newWin.document.write('<br>');
newWin.document.write(pageTitle + '/' + tabAtiva);
newWin.document.write(divToPrint.outerHTML);
newWin.document.write('<br>');
newWin.document.write(window.location.href);
newWin.print();
newWin.close();
};
function printData2() {
var pageTitle = 'Inicio';
var divToPrint = document.getElementById("printTable2");
var imgToPrint = $("img.logo-img").map(function () {
return $(this).parent().html();
}).get();
var txtToPrint = $("span.logo-title").map(function () {
return $(this).parent().html();
}).get();
var tabAtiva = $("li.nav-item .active").map(function () {
return $(this).parent().html();
}).get();
newWin = window.open("");
newWin.document.write('<p style="text-align: center">' + sistemName + '</p>');
newWin.document.write(imgToPrint);
newWin.document.write(txtToPrint);
newWin.document.write('<br>');
newWin.document.write('<br>');
newWin.document.write(pageTitle + '/' + tabAtiva);
newWin.document.write(divToPrint.outerHTML);
newWin.document.write('<br>');
newWin.document.write(window.location.href);
newWin.print();
newWin.close();
};
// Example starter JavaScript for disabling form submissions if there are invalid fields
(function () {
'use strict';
window.addEventListener('load', function () {
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.getElementsByClassName('needs-validation');
// Loop over them and prevent submission
var validation = Array.prototype.filter.call(forms, function (form) {
form.addEventListener('submit', function (event) {
if (form.checkValidity() === false) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add('was-validated');
}, false);
});
}, false);
})();
$(function () {
var nua = navigator.userAgent;
var isAndroid = (nua.indexOf('Mozilla/5.0') > -1 && nua.indexOf('Android ') > -1 && nua.indexOf('AppleWebKit') > -1 && nua.indexOf('Chrome') === -1);
if (isAndroid) {
$('select.form-control').removeClass('form-control').css('width', '100%')
}
});
</script>]]>
|
1159
| <![CDATA[<script>
jQuery(function ($) {
$("div#pesquisaSuperior #btnExpandir").click(function () {
$("div#pesquisaSuperior #btnExpandir i").toggleClass("fa-chevron-circle-down fa-chevron-circle-up");
$("div#pesquisaSuperior #pesquisaPeriodo").toggle();
$("div#pesquisaSuperior #pesquisaPalavra").toggle();
$("div#pesquisaSuperior #filtrosPesquisa").toggle();
$("div#pesquisaSuperior #pesquisaEvento1").toggle();
$("div#pesquisaSuperior #pesquisaEvento2").toggle();
$("div#pesquisaSuperior #btnLimpar").toggle();
$("div#pesquisaSuperior #btnPesquisar").toggle();
});
$("div#pesquisaSuperior #btnPesquisarIcon").click(function () {
$("div#pesquisaSuperior form#buscaEvento")[0].submit();
});
$(function () {
$("div#pesquisaSuperior #botao-pesquisar").click(function () {
$("div#pesquisaSuperior #buscaEvento")[0].submit();
});
$("div#pesquisaSuperior #botao-limpar").click(function () {
$("div#pesquisaSuperior #buscaEvento")[0].reset();
$("div#pesquisaSuperior #buscaInicial").removeAttr("value");
$("div#pesquisaSuperior #buscaFinal").removeAttr("value");
$("div#pesquisaSuperior #buscaPalavra").removeAttr("value");
$("div#pesquisaSuperior #buscaEvent").removeAttr("value");
$("div#pesquisaSuperior #buscaEvent2").removeAttr("value");
//remove todos os inputs hiddens do form
$('div#pesquisaSuperior #buscaEvento').find('input[name^="todos_e"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="estados"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="todos_s"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="setores"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="todos_a"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="abrangencias"]').remove();
$("div#pesquisaSuperior #todos_estados").find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaSuperior #todos_estados").find('input[type="checkbox"]').prop("disabled", false);
$("div#pesquisaSuperior #todos_setores").find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaSuperior #todos_setores").find('input[type="checkbox"]').prop("disabled", false);
$("div#pesquisaSuperior #todas_abrangencias").find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaSuperior #todas_abrangencias").find('input[type="checkbox"]').prop("disabled", false);
});
$("div#pesquisaSuperior .botao-estados").click(function () {
$("div#pesquisaSuperior .botao-estados i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaSuperior #todos_estados").collapse('toggle');
});
$("div#pesquisaSuperior .botao-setores").click(function () {
$("div#pesquisaSuperior .botao-setores i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaSuperior #todos_setores").collapse('toggle');
});
$("div#pesquisaSuperior .botao-abrangencias").click(function () {
$("div#pesquisaSuperior .botao-abrangencias i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaSuperior #todas_abrangencias").collapse('toggle');
});
//tira a seleção de outros estados
//caso seja selecionado 'todos'
$("div#pesquisaSuperior #todosSE").click(function () {
if ($(this).is(':checked')) {
$("div#pesquisaSuperior input[name^='estados']").prop('checked', false); // Unchecks it
$("div#pesquisaSuperior input[name^='estados']").prop("disabled", true);
} else {
$("div#pesquisaSuperior input[name^='estados']").prop("disabled", false);
}
});
//seleciona todos os setores
$("div#pesquisaSuperior #todosSS").click(function () {
if ($(this).is(':checked')) {
$("div#pesquisaSuperior input[name^='setores']").prop('checked', false); // Unchecks it
$("div#pesquisaSuperior input[name^='setores']").prop("disabled", true);
} else {
$("div#pesquisaSuperior input[name^='setores']").prop("disabled", false);
}
});
//seleciona todas as abrangencias
$("div#pesquisaSuperior #todosSA").click(function () {
if ($(this).is(':checked')) {
$("div#pesquisaSuperior input[name^='abrangencias']").prop('checked', false); // Unchecks it
$("div#pesquisaSuperior input[name^='abrangencias']").prop("disabled", true);
} else {
$("div#pesquisaSuperior input[name^='abrangencias']").prop("disabled", false);
}
});
$("div#pesquisaSuperior .botao-reset").click(function () {
var divid = $(this).parents('div').attr('id');
$("div#pesquisaSuperior #" + divid).find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaSuperior #" + divid).find('input[type="checkbox"]').prop("disabled", false);
var name = $("div#pesquisaSuperior #" + divid).find('input').attr('name');
if (name == 'todos_e') {
//remove todos os inputs hiddens do form
$('div#pesquisaSuperior #buscaEvento').find('input[name^="' + name + '"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="estados"]').remove();
} else if (name == 'todos_s') {
//remove todos os inputs hiddens do form
$('div#pesquisaSuperior #buscaEvento').find('input[name^="' + name + '"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="setores"]').remove();
} else {
//remove todos os inputs hiddens do form
$('div#pesquisaSuperior #buscaEvento').find('input[name^="' + name + '"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="abrangencias"]').remove();
}
});
$("div#pesquisaSuperior .botao-submit").click(function () {
var divid = $(this).parents('div').attr('id');
var botao = $("div#pesquisaSuperior #" + divid).parent('div').children('a').attr('id');
$("div#pesquisaSuperior #" + botao + " i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaSuperior #" + divid).collapse('toggle');
});
$('div#pesquisaSuperior .formFiltros input[type="checkbox"]').click(function () {
var arrInputs = $('div#pesquisaSuperior .formFiltros').serializeArray();
//remove todos os inputs hiddens do form
$('div#pesquisaSuperior #buscaEvento').find('input[name^="todos_e"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="estados"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="todos_s"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="setores"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="todas_a"]').remove();
$('div#pesquisaSuperior #buscaEvento').find('input[name^="abrangencias"]').remove();
$.each(arrInputs, function (index, campo) {
$('div#pesquisaSuperior #buscaEvento').append("<input type='hidden' name=" + campo.name + "[] value='" + campo.value + "'/>")
});
});
//paginacaoSemAjax();
});
});
</script>]]>
|
2048
| <![CDATA[<script>
jQuery(function ($) {
$(function () {
$("div#pesquisaLateral #botao-pesquisar").click(function () {
$("div#pesquisaLateral #buscaEvento")[0].submit();
});
$("div#pesquisaLateral #botao-limpar").click(function () {
$("div#pesquisaLateral #buscaEvento")[0].reset();
$("div#pesquisaLateral #buscaInicial").removeAttr("value");
$("div#pesquisaLateral #buscaFinal").removeAttr("value");
$("div#pesquisaLateral #buscaPalavra").removeAttr("value");
$("div#pesquisaLateral #buscaEvent").removeAttr("value");
//remove todos os inputs hiddens do form
$('div#pesquisaLateral #buscaEvento').find('input[name^="todos_e"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="estados"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="todos_s"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="setores"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="todos_a"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="abrangencias"]').remove();
$("div#pesquisaLateral #todos_estados").find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaLateral #todos_estados").find('input[type="checkbox"]').prop("disabled", false);
$("div#pesquisaLateral #todos_setores").find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaLateral #todos_setores").find('input[type="checkbox"]').prop("disabled", false);
$("div#pesquisaLateral #todas_abrangencias").find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaLateral #todas_abrangencias").find('input[type="checkbox"]').prop("disabled", false);
});
$("div#pesquisaLateral .botao-estados").click(function () {
$("div#pesquisaLateral .botao-estados i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaLateral #todos_estados").collapse('toggle');
});
$("div#pesquisaLateral .botao-setores").click(function () {
$("div#pesquisaLateral .botao-setores i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaLateral #todos_setores").collapse('toggle');
});
$("div#pesquisaLateral .botao-abrangencias").click(function () {
$("div#pesquisaLateral .botao-abrangencias i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaLateral #todas_abrangencias").collapse('toggle');
});
//tira a seleção de outros estados
//caso seja selecionado 'todos'
$("div#pesquisaLateral #todosLE").click(function () {
if ($(this).is(':checked')) {
$("div#pesquisaLateral input[name^='estados']").prop('checked', false); // Unchecks it
$("div#pesquisaLateral input[name^='estados']").prop("disabled", true);
} else {
$("div#pesquisaLateral input[name^='estados']").prop("disabled", false);
}
});
//seleciona todos os setores
$("div#pesquisaLateral #todosLS").click(function () {
if ($(this).is(':checked')) {
$("div#pesquisaLateral input[name^='setores']").prop('checked', false); // Unchecks it
$("div#pesquisaLateral input[name^='setores']").prop("disabled", true);
} else {
$("div#pesquisaLateral input[name^='setores']").prop("disabled", false);
}
});
//seleciona todas as abrangencias
$("div#pesquisaLateral #todosLA").click(function () {
if ($(this).is(':checked')) {
$("div#pesquisaLateral input[name^='abrangencias']").prop('checked', false); // Unchecks it
$("div#pesquisaLateral input[name^='abrangencias']").prop("disabled", true);
} else {
$("div#pesquisaLateral input[name^='abrangencias']").prop("disabled", false);
}
});
$("div#pesquisaLateral .botao-reset").click(function () {
var divid = $(this).parents('div').attr('id');
$("div#pesquisaLateral #" + divid).find('input[type="checkbox"]').prop('checked', false);
$("div#pesquisaLateral #" + divid).find('input[type="checkbox"]').prop("disabled", false);
var name = $("div#pesquisaLateral #" + divid).find('input').attr('name');
if (name == 'todos_e') {
//remove todos os inputs hiddens do form
$('div#pesquisaLateral #buscaEvento').find('input[name^="' + name + '"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="estados"]').remove();
} else if (name == 'todos_s') {
//remove todos os inputs hiddens do form
$('div#pesquisaLateral #buscaEvento').find('input[name^="' + name + '"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="setores"]').remove();
} else {
//remove todos os inputs hiddens do form
$('div#pesquisaLateral #buscaEvento').find('input[name^="' + name + '"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="abrangencias"]').remove();
}
});
$("div#pesquisaLateral .botao-submit").click(function () {
var divid = $(this).parents('div').attr('id');
var botao = $("div#pesquisaLateral #" + divid).parent('div').children('a').attr('id');
$("div#pesquisaLateral #" + botao + " i").toggleClass('fa-plus-circle fa-minus-circle');
$("div#pesquisaLateral #" + divid).collapse('toggle');
});
$('div#pesquisaLateral .formFiltros input[type="checkbox"]').click(function () {
var arrInputs = $('div#pesquisaLateral .formFiltros').serializeArray();
//remove todos os inputs hiddens do form
$('div#pesquisaLateral #buscaEvento').find('input[name^="todos_e"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="estados"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="todos_s"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="setores"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="todas_a"]').remove();
$('div#pesquisaLateral #buscaEvento').find('input[name^="abrangencias"]').remove();
$.each(arrInputs, function (index, campo) {
$('div#pesquisaLateral #buscaEvento').append("<input type='hidden' name=" + campo.name + "[] value='" + campo.value + "'/>")
});
});
});
});
</script>]]>
|
2176
| <![CDATA[<script>
$(document).ready(function () {
$('.navegacao').dblclick(function (e) {
e.preventDefault();
});
$("#gridEventos").gridAjax(baseUrl + '/index/grid-eventos/numevento/0');
});
var eveInd = [5658,5659,5660,5523,5756,5568,5809,5489,5811,5844,5539,5693,5691,5733,5594,5755,5744,5692,5740,5759,5760,5581,5652,5602,5661,5817,5667,5665,5631,5823,5847,5788,5819,5651,5846,5643,5804,5686,5705,5718,5510,5703,5802,5599,5762,5615,5848,5841,5654,5843,5593,5666,5829,5839,5636,5836,5638,5813,5520,5818,5833,5838,5824,5832,5845,5582,5625,5537,5835,5585,5840,5816,5613,5626,5616,5612,5842,5595,5830,5812,5560,5837];
var atual = 0;
var tamanhoArray = eveInd.length - 1;
var paginaAtual = 1;
$(function () {
$(".a_foto").click(function () {
Util.redirect('/o-que-e');
});
$("#evento-" + eveInd[atual]).css('display', 'block');
//Aplica as funçoes de navagação
$(".navegacao").click(function () {
if ($(this).attr('id') == 'NavProximo' && atual > 0) {
atual--;
}
else if ($(this).attr('id') == 'NavAnterior' && atual < tamanhoArray) {
atual++;
}
$("#gridEventos").gridAjax(baseUrl + '/index/grid-eventos/numevento/' + atual);
});
});
</script>]]>
|
2254
| <![CDATA[<script>
$(document).ready(function () {
var contraste = Cookies.get('contraste');
jQuery(function ($) {
$('body').addClass(contraste);
});
});
//acao botao de alto contraste
jQuery('a.toggle-contraste').click(function () {
if (!jQuery('body').hasClass('contraste')) {
jQuery(function ($) {
$('body').addClass('contraste');
});
jQuery('body').removeClass('undefined');
var contraste = Cookies.get('contraste');
if (contraste == '' || contraste == 'undefined') {
contraste = 'contraste';
}
Cookies.set('contraste', contraste);
} else {
jQuery('body').removeClass('contraste');
var contraste = Cookies.get('contraste');
contraste = contraste.replace('contraste', '');
Cookies.set('contraste', contraste);
}
});
//fim acao botao de alto contraste
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function () {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>]]>
|
2317
| <![CDATA[<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32767253-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>]]>
|