5
| <![CDATA[<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-10896942-2']);
_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>]]>
|
393
| <![CDATA[<script>
// $(".acessoInformacaoFixo").hover(function(){
// $(this).css({
// 'background-color' : '#c0e3ff'
// })
// },function(){
// $(this).css({
// 'background-color' : '#fff'
// })
// })
// showProt = false;
// $("#protocolos-card").css("cssText", "margin-top: 204px !important; transition : 300ms; width: 115px; height: 100px;");
// $("#protocolos-card .col-protocolos").css({'display': 'block'})
// $("#protocolos-card .col-online").css({'display': 'none'})
// $("#protocolos-card .col-aprova").css({'display': 'none'})
// $("#protocolos-card .col-duvidas").css({'display': 'none'})
showProt = false;
// $(".icon-seta-left").click(function(){
// // if(e.target.className == ".icon-seta-left"){
// showProt = true;
// $('#protocolos-card').css("cssText", "margin-top: 204px !important; transition : 300ms; width: 280px; height: 100px;");
// $("#protocolos-card .col-protocolos").css({'display': 'none'});
// $("#protocolos-card .col-online").css({'display': 'block'});
// $("#protocolos-card .col-aprova").css({'display': 'block'});
// $("#protocolos-card .col-duvidas").css({'display': 'block'});
// $("#protocolos-card .icon-seta-left").css({'display': 'none'});
// $("#protocolos-card .icon-seta").css({'display': 'block'});
// })
// $(document).click(function(e){
// showProt = false;
// $("#protocolos-card").css("cssText", "margin-top: 204px !important; transition : 300ms; width: 115px; height: 100px;");
// $("#protocolos-card .col-protocolos").css({'display': 'block'});
// $("#protocolos-card .col-online").css({'display': 'none'});
// $("#protocolos-card .col-aprova").css({'display': 'none'});
// $("#protocolos-card .icon-seta").css({'display': 'none'});
// $("#protocolos-card .icon-seta-left").css({'display': 'block'});
// $("#protocolos-card .col-duvidas").css({'display': 'none'});
// })
$("#protocolos-card").click(function(){
if(!showProt){
showProt = true;
$(this).css("cssText", "margin-top: 204px !important; transition : 300ms; width: 280px; height: 100px;");
$("#protocolos-card .col-protocolos").css({'display': 'none'});
$("#protocolos-card .col-online").css({'display': 'block'});
$("#protocolos-card .col-aprova").css({'display': 'block'});
$("#protocolos-card .col-duvidas").css({'display': 'block'});
$("#protocolos-card .icon-seta-left").css({'display': 'none'});
$("#protocolos-card .icon-seta").css({'display': 'block'});
}
})
$(document).click(function(e){
if(e.target.className != "col-4 col-protocolos" && e.target.className != "acessoInformacaoFixo" && e.target.className != "img-responsive" && e.target.className != "row row-naldinho" && e.target.className != "icon-seta-left"){
showProt = false;
$("#protocolos-card").css("cssText", "margin-top: 204px !important; transition : 300ms; width: 115px; height: 100px;");
$("#protocolos-card .col-protocolos").css({'display': 'block'});
$("#protocolos-card .col-online").css({'display': 'none'});
$("#protocolos-card .col-aprova").css({'display': 'none'});
$("#protocolos-card .icon-seta").css({'display': 'none'});
$("#protocolos-card .icon-seta-left").css({'display': 'block'});
$("#protocolos-card .col-duvidas").css({'display': 'none'});
}
})
$("#protocolos-card").hover(function(){
$(this).css({
'cursor' : 'pointer'
});
});
$("#protocolos-card").hover(function(){
$(".col-protocolos").css({
'text-decoration' : 'underline'
});
},function(){
$(".col-protocolos").css({
'text-decoration' : 'none'
});
});
$(".col-aprova img").hover(function(){
$(".col-aprova a").css({
'text-decoration' : 'underline'
});
},function(){
$(".col-aprova a").css({
'text-decoration' : 'none'
});
});
$(".col-online img").hover(function(){
$(".col-online a").css({
'text-decoration' : 'underline'
});
},function(){
$(".col-online a").css({
'text-decoration' : 'none'
});
});
// ###################################### //
$(".col-duvidas").click(function(){
$("#modal-question").modal("show");
})
$(".col-duvidas").hover(function(){
$(".col-duvidas").css({
'cursor' : 'pointer',
'text-decoration' : 'underline'
});
},function(){
$(".col-duvidas").css({
'cursor' : 'default',
'text-decoration' : 'none'
});
})
</script>]]>
|
829
| <![CDATA[<script type="text/javascript">
$("#ano").change(function() {
console.log(this.value);
if (this.value != 0) {
$(".mes-filter").css("display", "block");
$("#mes").prop('selectedIndex',1);
}else{
$("#mes").prop('selectedIndex',0);
$("#mes option[value='"+mesT+"']").attr("selected", "selected")
$(".mes-filter").css("display", "none");
}
});
anoT = 0;
mesT = 0;
if (anoT) {
$("#ano option[value='"+anoT+"']").attr("selected", "selected")
$(".mes-filter").css("display", "none");
}
if (mesT) {
$("#mes option[value='"+mesT+"']").attr("selected", "selected")
$(".mes-filter").css("display", "block");
}
$(".form-doe").submit(function() {
ano = $("#ano").val();
mes = $("#mes").val();
term = $("#searchterm").val();
// return false;
if ((ano != 0 || mes != 0) || term != "") {
return true;
}else{
alert("Preencha um dos filtros e tente novamente!");
return false;
}
});
</script>]]>
|
1065
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
1068
| <![CDATA[<script>
$('.dropdown-menu a.dropdown-toggle').on('click', function(e) {
if (!$(this).next().hasClass('show')) {
$(this).parents('.dropdown-menu').first().find('.show').removeClass('show');
}
var $subMenu = $(this).next('.dropdown-menu');
$subMenu.toggleClass('show');
$(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) {
$('.dropdown-menu .show').removeClass('show');
});
return false;
});
</script>]]>
|
1137
| <![CDATA[<script type="text/javascript">
$( document ).ready(function() {
window.open("#conteudo","_self");
focado = false;
});
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
function pesquisa() {
termo = $("input[name='search-doe']").val();
if (termo.length > 0) {
replace = termo.replace(" ", "+");
if ($("#especifica").prop("checked") == true) {
replace = '"'+replace+'"'
}
prefa = "+site+https://www.criciuma.sc.gov.br/pmc/webroot/upload/";
google = "https://www.google.com.br/search?q=";
final = google+replace+prefa
window.open(final, "Pesquisa", "width=1000,height=1000,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,resizable=no,left=0,top=0");
}else{
alert("Informe um termo para pesquisar");
$("input[name='search-doe']").focus();
}
}
$("input[name='search-doe']").focus(function() {
focado = true;
});
$("input[name='search-doe']").blur(function() {
focado = false;
});
$('body').keydown(function (e) {
if (focado) {
if (e. keyCode == 13) {
pesquisa();
}
}
});
</script>]]>
|