26
| <![CDATA[<style>
.navbar .nav-item .dropdown-menu {
display: none;
}
.navbar .nav-item:hover .nav-link {}
.navbar .nav-item:hover .dropdown-menu {
display: block;
}
.navbar .nav-item .dropdown-menu {
margin-top: 0;
}
</style>]]>
|
66
| <![CDATA[<style>
a:focus,
a:hover {
background: rgba(0, 0, 0, 0.05);
}
.govsp-cross {
z-index: 999999 !important;
}
</style>]]>
|
173
| <![CDATA[<a class="govsp-acessibilidade" href="#" id="altocontraste" accesskey="3"
onclick="window.toggleContrast()" onkeydown="window.toggleContrast()"><img
class="govsp-acessibilidade" src="https://saopaulo.sp.gov.br/barra-govsp/img/i-contrast.png"
alt="Visualização da página em Contraste"></a>]]>
|
54
| <![CDATA[<script>
window.console = window.console || function (t) { };
</script>]]>
|
59
| <![CDATA[<script>
if (document.location.search.match(/type=embed/gi)) {
window.parent.postMessage("resize", "*");
}
</script>]]>
|
79
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-GT3CSRE0S3');
</script>]]>
|
107
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
722
| <![CDATA[<script>
$(function () {
/* Isotope Gallery */
// init isotope
var $gallery = $(".tm-gallery").isotope({
itemSelector: ".tm-gallery-item",
layoutMode: "fitRows"
});
// layout Isotope after each image loads
$gallery.imagesLoaded().progress(function () {
$gallery.isotope("layout");
});
$(".filters-button-group").on("click", "a", function () {
var filterValue = $(this).attr("data-filter");
$gallery.isotope({ filter: filterValue });
console.log("Filter value: " + filterValue);
});
/* Tabs */
$(".tabgroup > div").hide();
$(".tabgroup > div:first-of-type").show();
$(".tabs a").click(function (e) {
e.preventDefault();
var $this = $(this),
tabgroup = "#" + $this.parents(".tabs").data("tabgroup"),
others = $this
.closest("li")
.siblings()
.children("a"),
target = $this.attr("href");
others.removeClass("active");
$this.addClass("active");
// Scroll to tab content (for mobile)
if ($(window).width() < 992) {
$("html, body").animate(
{
scrollTop: $("#tmGallery").offset().top
},
200
);
}
});
});
</script>]]>
|
772
| <![CDATA[<script>
var acc = document.getElementsByClassName("accordionService");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function () {
this.classList.toggle("activeService");
var panel = this.nextElementSibling;
if (panel.style.maxHeight) {
panel.style.maxHeight = null;
} else {
panel.style.maxHeight = panel.scrollHeight + "px";
}
});
}
</script>]]>
|
793
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
$(".iframe").colorbox({ iframe: true, width: "90%", height: "90%" });
$(".group1").colorbox({ rel: 'group1', slideshow: true });
});
// Make ColorBox responsive
jQuery.colorbox.settings.maxWidth = '1640px';
jQuery.colorbox.settings.maxHeight = '960px';
// ColorBox resize function
var resizeTimer;
function resizeColorBox() {
if (resizeTimer) clearTimeout(resizeTimer);
resizeTimer = setTimeout(function () {
if (jQuery('#cboxOverlay').is(':visible')) {
jQuery.colorbox.load(true);
}
}, 300);
}
// Resize ColorBox when resizing window or changing mobile device orientation
jQuery(window).resize(resizeColorBox);
window.addEventListener("orientationchange", resizeColorBox, false);
</script>]]>
|
822
| <![CDATA[<script>
document.addEventListener("DOMContentLoaded", function () {
// make it as accordion for smaller screens
if (window.innerWidth > 992) {
document.querySelectorAll('.navbar .nav-item').forEach(function (everyitem) {
everyitem.addEventListener('mouseover', function (e) {
let el_link = this.querySelector('a[data-bs-toggle]');
if (el_link != null) {
let nextEl = el_link.nextElementSibling;
el_link.classList.add('show');
nextEl.classList.add('show');
}
});
everyitem.addEventListener('mouseleave', function (e) {
let el_link = this.querySelector('a[data-bs-toggle]');
if (el_link != null) {
let nextEl = el_link.nextElementSibling;
el_link.classList.remove('show');
nextEl.classList.remove('show');
}
})
});
}
// end if innerWidth
});
// DOMContentLoaded end
</script>]]>
|