14
| <![CDATA[<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"https:\/\/saltodepirapora.sp.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.2.2"}};
!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
</script>]]>
|
62
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function() {
// CUSTOM AJAX CONTENT LOADING FUNCTION
var ajaxRevslider = function(obj) {
// obj.type : Post Type
// obj.id : ID of Content to Load
// obj.aspectratio : The Aspect Ratio of the Container / Media
// obj.selector : The Container Selector where the Content of Ajax will be injected. It is done via the Essential Grid on Return of Content
var content = "";
data = {};
data.action = 'revslider_ajax_call_front';
data.client_action = 'get_slider_html';
data.token = '7fc8479093';
data.type = obj.type;
data.id = obj.id;
data.aspectratio = obj.aspectratio;
// SYNC AJAX REQUEST
jQuery.ajax({
type:"post",
url:"https://saltodepirapora.sp.gov.br/wp-admin/admin-ajax.php",
dataType: 'json',
data:data,
async:false,
success: function(ret, textStatus, XMLHttpRequest) {
if(ret.success == true)
content = ret.data;
},
error: function(e) {
console.log(e);
}
});
// FIRST RETURN THE CONTENT WHEN IT IS LOADED !!
return content;
};
// CUSTOM AJAX FUNCTION TO REMOVE THE SLIDER
var ajaxRemoveRevslider = function(obj) {
return jQuery(obj.selector+" .rev_slider").revkill();
};
// EXTEND THE AJAX CONTENT LOADING TYPES WITH TYPE AND FUNCTION
var extendessential = setInterval(function() {
if (jQuery.fn.tpessential != undefined) {
clearInterval(extendessential);
if(typeof(jQuery.fn.tpessential.defaults) !== 'undefined') {
jQuery.fn.tpessential.defaults.ajaxTypes.push({type:"revslider",func:ajaxRevslider,killfunc:ajaxRemoveRevslider,openAnimationSpeed:0.3});
// type: Name of the Post to load via Ajax into the Essential Grid Ajax Container
// func: the Function Name which is Called once the Item with the Post Type has been clicked
// killfunc: function to kill in case the Ajax Window going to be removed (before Remove function !
// openAnimationSpeed: how quick the Ajax Content window should be animated (default is 0.3)
}
}
},30);
});
</script>]]>
|
398
| <![CDATA[<script type='text/javascript'>
/* <![CDATA[ */
(function() {
var dropdown = document.getElementById( "cat" );
function onCatChange() {
if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) {
location.href = "https://saltodepirapora.sp.gov.br/?cat=" + dropdown.options[ dropdown.selectedIndex ].value;
}
}
dropdown.onchange = onCatChange;
})();
/* ]]> */
</script>]]>
|
440
| <![CDATA[<script type='text/javascript'>
/* <![CDATA[ */
(function() {
var dropdown = document.getElementById( "categories-dropdown-3" );
function onCatChange() {
if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) {
location.href = "https://saltodepirapora.sp.gov.br/?cat=" + dropdown.options[ dropdown.selectedIndex ].value;
}
}
dropdown.onchange = onCatChange;
})();
/* ]]> */
</script>]]>
|
519
| <![CDATA[<script type="text/javascript">
window.mobileNavWidth = "1000";
window.logoHeight = "100";
window.logoHeightSticky = "55";
window.logoHeightTablets = "35";
window.logoHeightMobiles = "30";
window.headerMainHeight = "105";
window.headerMenuTogglable = 1;
window.headerMainShrinkedHeight = "55";
window.headerExtraHeight = "40";
window.headerDisableStickyHeaderWidth = "1000";
window.headerDisableAnimationWidth = "1023";
window.firstSubmainPadding = 145;
window.ajaxURL = 'https://saltodepirapora.sp.gov.br/wp-admin/admin-ajax.php';
window.nameFieldError = "Digite seu nome";
window.emailFieldError = "Digite seu E-mail";
window.phoneFieldError = "Digite seu telefone";
window.captchaFieldError = "Digite o resultado da equação";
window.messageFieldError = "Digite uma mensagem";
window.messageFormSuccess = "Obrigado, sua mensagem foi enviada.";
</script>]]>
|
572
| <![CDATA[<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery.RealAccessability({
hideOnScroll: false
});
});
<!-- /END -->
</script>]]>
|
581
| <![CDATA[<script type="text/javascript">
function determineEnglish() {
var body = document.body;
var textContent = body.textContent || body.innerText;
var textContent = textContent.replace(/\n/g," ");
var textContent = textContent.replace(/\r/g," ");
var textContent = textContent.replace(/\t/g," ");
var textContent = textContent.replace(/ /g,"");
var textLeft = textContent.replace(/\W+/g,"");
var oldc = textContent.length;
var newc = textLeft.length;
var ratio = newc/oldc;
if(ratio>.8) {
return "english";
} else {
return "other";
}
}
window.accPlayerStatus = "uninit";
if(responsiveVoice.voiceSupport() && determineEnglish()=="english") {
var obj = document.getElementById("btnAccPlay");
obj.style.cursor="pointer";
} else {
document.getElementById("real-accessability-player").style.display="none";
}
if(navigator.userAgent.indexOf("OPR")!=-1) {
document.getElementById("real-accessability-player").style.display="none";
}
function accPlayer(btnType) {
// TURN ALL TO GRAY
var playObj = document.getElementById("btnAccPlay");
var pauseObj = document.getElementById("btnAccPause");
var stopObj = document.getElementById("btnAccStop");
if(btnType=="play") {
if(window.accPlayerStatus=="uninit") {
// CHANGE STATUS TO PLAYING
window.accPlayerStatus = "playing";
// LOAD THE PAGE CONTENT ALONE
var u = location.href;
var s = document.createElement("script");
s.setAttribute("type","text/javascript")
s.src = "//508fi.org/js/speech.php?u="+encodeURIComponent(u);
document.getElementsByTagName("head")[0].appendChild(s);
// ASSIGN CORRECT COLORS
playObj.src = playObj.src.replace("blue","gray");
stopObj.src = stopObj.src.replace("gray","red");
pauseObj.src = pauseObj.src.replace("gray","blue");
} else if(window.accPlayerStatus=="playing") {
} else if(window.accPlayerStatus=="paused") {
// CHANGE STATUS TO PLAYING
window.accPlayerStatus = "playing";
// RESUME PLAYING
responsiveVoice.resume();
// ASSIGN CORRECT COLORS
playObj.src = playObj.src.replace("blue","gray");
stopObj.src = stopObj.src.replace("gray","red");
pauseObj.src = pauseObj.src.replace("gray","blue");
} else if(window.accPlayerStatus=="stopped") {
// CHANGE STATUS TO PLAYING
window.accPlayerStatus = "playing";
// LOAD THE PAGE CONTENT ALONE
var u = location.href;
var s = document.createElement("script");
s.setAttribute("type","text/javascript")
s.src = "//508fi.org/js/speech.php?u="+encodeURIComponent(u);
document.getElementsByTagName("head")[0].appendChild(s);
// ASSIGN CORRECT COLORS
playObj.src = playObj.src.replace("blue","gray");
stopObj.src = stopObj.src.replace("gray","red");
pauseObj.src = pauseObj.src.replace("gray","blue");
} else {
}
} else if(btnType=="pause") {
if(window.accPlayerStatus=="uninit") {
} else if(window.accPlayerStatus=="playing") {
// CHANGE STATUS TO PLAYING
window.accPlayerStatus = "paused";
// PAUSE READING
responsiveVoice.pause();
// ASSIGN CORRECT COLORS
playObj.src = playObj.src.replace("gray","blue");
stopObj.src = stopObj.src.replace("gray","red");
pauseObj.src = pauseObj.src.replace("blue","gray");
} else if(window.accPlayerStatus=="paused") {
} else if(window.accPlayerStatus=="stopped") {
} else {
}
} else if(btnType=="stop") {
if(window.accPlayerStatus=="uninit") {
} else if(window.accPlayerStatus=="playing") {
// STOP READING
responsiveVoice.cancel();
// ASSIGN CORRECT COLORS
playObj.src = playObj.src.replace("gray","blue");
stopObj.src = stopObj.src.replace("red","gray");
pauseObj.src = pauseObj.src.replace("blue","gray");
} else if(window.accPlayerStatus=="paused") {
// STOP READING
responsiveVoice.cancel();
// ASSIGN CORRECT COLORS
playObj.src = playObj.src.replace("gray","blue");
stopObj.src = stopObj.src.replace("red","gray");
pauseObj.src = pauseObj.src.replace("blue","gray");
} else if(window.accPlayerStatus=="stopped") {
} else {}
} else {}
}
</script>]]>
|