1
| <![CDATA[<script>
var idiomasObra = {};
</script>]]>
|
4
| <![CDATA[<script>
var siglaIdioma = window.navigator.language.toLowerCase();
console.log(siglaIdioma);
if (siglaIdioma in idiomasObra) {
document.cookie = 'idiomaDefinido=true';
if (confirm("Gostaria de visualizar essa página no seu idioma?")) {
location.href = idiomasObra[siglaIdioma].link;
}
}
</script>]]>
|
31
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-93095256-1', 'auto');
ga('send', 'pageview');
</script>]]>
|
64
| <![CDATA[<script type="text/javascript">
var dominioAtual = 'www.turismo.sp.gov.br';
var JQry = jQuery.noConflict();
</script>]]>
|
77
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function () {
window.Lightbox = new jQuery().visualLightbox({
autoPlay: true,
borderSize : 16,
classNames : 'vlightbox,vlightbox1',
descSliding : true,
enableRightClick : false,
enableSlideshow : true,
resizeSpeed : 7,
slideTime : 10,
startZoom : true
})
});
</script>]]>
|
95
| <![CDATA[<script type="text/javascript">
esolution_get = 'codigo=1383';
</script>]]>
|
169
| <![CDATA[<script type="text/javascript" src="/datafiles/suite/escritorio/aplicativo/webdesign/antescabecalho/contraste.css">
</script>]]>
|
394
| <![CDATA[<script>
try {
jQuery(window).scroll(function () {
var scroll = jQuery(window).scrollTop();
if (scroll >= 20) {
jQuery('ul.govsph-dropdown.govsph-active').addClass('hide-dropdown');
} else {
jQuery('ul.govsph-dropdown.govsph-active').removeClass('hide-dropdown');
}
});
} catch (e) {
console.log("Syntax Error in Custom JS")
}
</script>]]>
|
462
| <![CDATA[<script>
// $(function () {
// $('#divFuncAcess').easyView({
// container: 'body',
// increaseSelector: '#amais',
// decreaseSelector: '#amenos',
// normalSelector: '#anormal',
// contrastSelector: '#c'
// });
// $('#altocontraste').click(() => {
// if(localStorage.getItem('contrasteAtivo') == undefined || localStorage.getItem('contrasteAtivo') == '0' || localStorage.getItem('contrasteAtivo') == null) {
// localStorage.setItem('contrasteAtivo', '1');
// $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('background-color', '#111111');
// $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('color', 'white');
// } else {
// localStorage.setItem('contrasteAtivo', '0');
// $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('background', 'initial');
// $('*:not(div#govsph-topbarGlobal div#topbarGlobal #topbarLink)').css('color', 'initial');
// $('.RODAPE-MAPASITE').css('background', '#003399');
// $('.ESQUERDO').css('color', '#034ea2');
// }
// })
// });
// Insere a classe contrast na tag body, a folha de estilho é a css/contraste.css
(function () {
var Contrast = {
storage: 'contrastState',
cssClass: 'contrast',
currentState: null,
check: checkContrast,
getState: getContrastState,
setState: setContrastState,
toogle: toogleContrast,
updateView: updateViewContrast
};
window.toggleContrast = function () {
Contrast.toogle();
};
Contrast.check();
function checkContrast() {
this.updateView();
}
function getContrastState() {
return localStorage.getItem(this.storage) === 'true';
}
function setContrastState(state) {
localStorage.setItem(this.storage, '' + state);
this.currentState = state;
this.updateView();
}
function updateViewContrast() {
var body = document.body;
if (this.currentState === null)
this.currentState = this.getState();
if (this.currentState)
body.classList.add(this.cssClass);
else
body.classList.remove(this.cssClass);
}
function toogleContrast() {
this.setState(!this.currentState);
}
})();
</script>]]>
|
539
| <![CDATA[<script>
var idiomas = {};
</script>]]>
|
544
| <![CDATA[<script>
var siglaIdioma = window.navigator.language.toLowerCase();
if ((siglaIdioma in idiomas) && !/idiomaDefinido=true/.exec(document.cookie)) {
document.cookie = 'idiomaDefinido=true';
if (confirm("Gostaria de visualizar esse site no idioma " + idiomas[siglaIdioma].nome + "?")) {
location.href = idiomas[siglaIdioma].link;
}
}
</script>]]>
|
556
| <![CDATA[<script type="text/javascript">
var JQry = jQuery.noConflict();
</script>]]>
|
559
| <![CDATA[<script type="text/javascript">
var $ = jQuery.noConflict();
</script>]]>
|
821
| <![CDATA[<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id))
return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/pt_BR/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>]]>
|
853
| <![CDATA[<script type="text/javascript">
$(".fancybox").fancybox();
</script>]]>
|
888
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-93095256-1', 'auto');
ga('send', 'pageview');
</script>]]>
|
1017
| <![CDATA[<script type="text/javascript">
var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {
defaultTab: 0
});
TabbedPanels1.getTabIndex();
</script>]]>
|