122
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XJJFBDPVPG');
gtag('config', 'G-25CVEJZ9H2');
</script>]]>
|
207
| <![CDATA[<script type='text/javascript' id='pojo-a11y-js-extra'>
/* <![CDATA[ */
var PojoA11yOptions = {"focusable":"","remove_link_target":"","add_role_links":"","enable_save":"","save_expiration":""};
/* ]]> */
</script>]]>
|
2528
| <![CDATA[<script>
$(function(){
$.ajax({
url: 'https://www.googleapis.com/youtube/v3/playlists ',
method: 'get',
dataType: 'json',
data: {
part: 'snippet',
key: 'AIzaSyCcZamDdNThR50EMkDJFdRwc21vtJZH-FU',
channelId: 'UCAUaPk8nHpmv05Crf_Z_fmg'
},
success: function(response){
console.log(response)
$.each(response.items, function(index, iten){
$('.youtube').append('<div class="row"><div class="col s12 m7"><div class="card"><div class="card-image"><img src="'+ iten.snippet.thumbnails.standard.url +'"></div><div class="card-content"><span class="card-title">'+ iten.snippet.title +'</span><p>'+ iten.snippet.description +'</p></div><div class="card-action"><a class="btn" href="#!">Vewr mais</a></div></div></div></div>')
},
error: function(error){
console.log(error)
}
})
})
</script>]]>
|
2767
| <![CDATA[<script>
function changeClass(name1, name2){
body.classList.remove(name1)
body.classList.add(name2)
btn.src = "assets/img/comum/" + name2 + ".png"
}
function getCookie(cname){
let name = cname + "="
let decodedCookie = decodeURIComponent(document.cookie)
let ca = decodedCookie.split(';')
for(let i = 0; i < ca.length;i++){
let c = ca[i]
while(c.charAt(0) == " "){
c = c.substring(1)
}
if(c.indexOf(name) == 0){
return c.substring(name.length, c.length)
}
}
return ""
}
if(getCookie("theme").length == 0){
document.cookie = "theme=light"
}
const change = document.querySelector("#change-theme")
const body = document.querySelector("body")
const btn = change.querySelector("img")
const cookieTheme = getCookie("theme")
change.addEventListener("click", () => {
if(body.getAttribute("class") == "light"){
changeClass("light", "dark")
}else{
changeClass("dark", "light")
}
document.cookie = "theme=" + body.getAttribute("class")
})
if(body.getAttribute("class") == cookieTheme){
body.classList.remove(body.getAttribute("class"))
body.classList.add(cookieTheme)
}
btn.src = "assets/img/comum/" + body.getAttribute("class") + ".png"
</script>]]>
|
2822
| <![CDATA[<script>
var $affectedElements = $("p, h1, h2, h3, h4, h5, h6, li, ul, span, div");
$affectedElements.each( function(){
var $this = $(this);
$this.data("orig-size", $this.css("font-size") );
});
$("#btn-increase").click(function(){
changeFontSize(1);
})
$("#btn-decrease").click(function(){
changeFontSize(-1);
})
$("#btn-orig").click(function(){
$affectedElements.each( function(){
var $this = $(this);
$this.css( "font-size" , $this.data("orig-size") );
});
})
function changeFontSize(direction){
$affectedElements.each( function(){
var $this = $(this);
$this.css( "font-size" , parseInt($this.css("font-size"))+direction );
});
}
</script>]]>
|
2855
| <![CDATA[<script>
const cookieBox = document.querySelector(".wrapper"),
buttons = document.querySelectorAll(".button");
const executeCodes = () => {
//if cookie contains codinglab it will be returned and below of this code will not run
if (document.cookie.includes("codinglab")) return;
cookieBox.classList.add("show");
buttons.forEach((button) => {
button.addEventListener("click", () => {
cookieBox.classList.remove("show");
//if button has acceptBtn id
if (button.id == "acceptBtn") {
//set cookies for 1 month. 60 = 1 min, 60 = 1 hours, 24 = 1 day, 30 = 30 days
document.cookie = "cookieBy= codinglab; max-age=" + 24 * 60 * 60 * 1e3;
}
});
});
};
//executeCodes function will be called on webpage load
window.addEventListener("load", executeCodes);
</script>]]>
|
2883
| <![CDATA[<script>
/* POP UP */
$(document).ready(function(){
setTimeout(function(){ $('#popup_prefeitura').removeClass("d-none"); setTimeout(function(){ $('#popup_prefeitura').addClass("d-none"); }, 25000); }, 2000);
});
function fechar(){ $('#popup_prefeitura').hide(); }
/* FIM POP UP */
</script>]]>
|
2904
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|