13
| <![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>]]>
|
61
| <![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>]]>
|
291
| <![CDATA[<script type="text/javascript">
/******************************************
- PREPARE PLACEHOLDER FOR SLIDER -
******************************************/
var setREVStartSize = function() {
var tpopt = new Object();
tpopt.startwidth = 1140;
tpopt.startheight = 300;
tpopt.container = jQuery('#rev_slider_13_1');
tpopt.fullScreen = "off";
tpopt.forceFullWidth="on";
tpopt.container.closest(".rev_slider_wrapper").css({height:tpopt.container.height()});tpopt.width=parseInt(tpopt.container.width(),0);tpopt.height=parseInt(tpopt.container.height(),0);tpopt.bw=tpopt.width/tpopt.startwidth;tpopt.bh=tpopt.height/tpopt.startheight;if(tpopt.bh>tpopt.bw)tpopt.bh=tpopt.bw;if(tpopt.bh<tpopt.bw)tpopt.bw=tpopt.bh;if(tpopt.bw<tpopt.bh)tpopt.bh=tpopt.bw;if(tpopt.bh>1){tpopt.bw=1;tpopt.bh=1}if(tpopt.bw>1){tpopt.bw=1;tpopt.bh=1}tpopt.height=Math.round(tpopt.startheight*(tpopt.width/tpopt.startwidth));if(tpopt.height>tpopt.startheight&&tpopt.autoHeight!="on")tpopt.height=tpopt.startheight;if(tpopt.fullScreen=="on"){tpopt.height=tpopt.bw*tpopt.startheight;var cow=tpopt.container.parent().width();var coh=jQuery(window).height();if(tpopt.fullScreenOffsetContainer!=undefined){try{var offcontainers=tpopt.fullScreenOffsetContainer.split(",");jQuery.each(offcontainers,function(e,t){coh=coh-jQuery(t).outerHeight(true);if(coh<tpopt.minFullScreenHeight)coh=tpopt.minFullScreenHeight})}catch(e){}}tpopt.container.parent().height(coh);tpopt.container.height(coh);tpopt.container.closest(".rev_slider_wrapper").height(coh);tpopt.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").height(coh);tpopt.container.css({height:"100%"});tpopt.height=coh;}else{tpopt.container.height(tpopt.height);tpopt.container.closest(".rev_slider_wrapper").height(tpopt.height);tpopt.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").height(tpopt.height);}
};
/* CALL PLACEHOLDER */
setREVStartSize();
var tpj=jQuery;
tpj.noConflict();
var revapi13;
tpj(document).ready(function() {
if(tpj('#rev_slider_13_1').revolution == undefined){
revslider_showDoubleJqueryError('#rev_slider_13_1');
}else{
revapi13 = tpj('#rev_slider_13_1').show().revolution(
{
dottedOverlay:"none",
delay:4000,
startwidth:1140,
startheight:300,
hideThumbs:200,
thumbWidth:100,
thumbHeight:50,
thumbAmount:3,
simplifyAll:"off",
navigationType:"bullet",
navigationArrows:"solo",
navigationStyle:"round",
touchenabled:"on",
onHoverStop:"off",
nextSlideOnWindowFocus:"off",
swipe_threshold: 0.7,
swipe_min_touches: 1,
drag_block_vertical: false,
parallax:"mouse+scroll",
parallaxBgFreeze:"on",
parallaxLevels:[5,10,15,20,25,30,35,40,45,50],
keyboardNavigation:"off",
navigationHAlign:"center",
navigationVAlign:"bottom",
navigationHOffset:0,
navigationVOffset:10,
soloArrowLeftHalign:"left",
soloArrowLeftValign:"center",
soloArrowLeftHOffset:20,
soloArrowLeftVOffset:0,
soloArrowRightHalign:"right",
soloArrowRightValign:"center",
soloArrowRightHOffset:20,
soloArrowRightVOffset:0,
shadow:0,
fullWidth:"on",
fullScreen:"off",
spinner:"spinner5",
stopLoop:"off",
stopAfterLoops:-1,
stopAtSlide:-1,
shuffle:"off",
autoHeight:"on",
forceFullWidth:"on",
hideThumbsOnMobile:"off",
hideNavDelayOnMobile:0,
hideBulletsOnMobile:"off",
hideArrowsOnMobile:"off",
hideThumbsUnderResolution:320,
hideSliderAtLimit:321,
hideCaptionAtLimit:321,
hideAllCaptionAtLilmit:321,
startWithSlide:0 });
}
}); /*ready*/
</script>]]>
|
659
| <![CDATA[<script type='text/javascript'>jQuery(document).ready(function(){ jQuery('#section_648571').horparallax(); });</script>]]>
|
706
| <![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.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>]]>
|
758
| <![CDATA[<script type="text/javascript">
jQuery( document ).ready(function() {
jQuery.RealAccessability({
hideOnScroll: false
});
});
<!-- /END -->
</script>]]>
|
767
| <![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>]]>
|