475
| <![CDATA[<script> function resultParse(v){ console.log(v); $('#tempoClimaUP').text(v.climatempo[0].previsao[0].detalhe.max); $('#tempoClimaDOWN').text(v.climatempo[0].previsao[0].detalhe.min); $('#iconeClima').addClass('weather-'+v.climatempo[0].previsao[0].detalhe.icone+'24'); } </script>]]>
|
481
| <![CDATA[<script>
$("#share").jsSocials({
showLabel: true,
shares: [{
share: "facebook",
logo: "fab fa-facebook-f"
},{
share: "twitter",
logo: "fab fa-twitter"
},{
share: "whatsapp",
logo: "fab fa-whatsapp"
}]
});
$('.ajax-popup-link').magnificPopup({
type: 'iframe',
iframe: {
markup: '<div class="mfp-iframe-scaler your-special-css-class">'+
'<div class="mfp-close"></div>'+
'<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+
'</div>'
}
});
</script>]]>
|
507
| <![CDATA[<script type="text/javascript">
var $affectedElements = $("body, p");
var theme = window.localStorage.currentTheme;
var theme2 = window.localStorage.currentTheme2;
$('body').addClass(theme + ' ' + theme2);
/*Dark mode*/
$('[data-toggle="dark-mode"]').click(function() {
if ($("body").hasClass("night")) {
$('body').toggleClass('night');
localStorage.removeItem('currentTheme');
localStorage.currentTheme = "day";
} else {
$('body').toggleClass('night');
localStorage.removeItem('currentTheme');
localStorage.currentTheme = "night";
}
});
/* Invert colors*/
$('[data-toggle="invert-color"]').click(function() {
if ($("body").hasClass("inverted")) {
$('body').toggleClass('inverted');
localStorage.removeItem('currentTheme2');
localStorage.currentTheme2 = "normal";
} else {
$('body').toggleClass('inverted');
localStorage.removeItem('currentTheme2');
localStorage.currentTheme2 = "inverted";
}
});
textResizer = $(function() {
var h = {
getItem: function(a) {
if (!a) {
return null
}
return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(a).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null
},
setItem: function(a, b, c, d, e, f) {
if (!a || /^(?:expires|max\-age|path|domain|secure)$/i.test(a)) {
return false
}
var g = "";
if (c) {
switch (c.constructor) {
case Number:
g = c === Infinity ? "; expires=Fri, 31 Dec 9999 23:59:59 GMT" : "; max-age=" + c;
break;
case String:
g = "; expires=" + c;
break;
case Date:
g = "; expires=" + c.toUTCString();
break
}
}
document.cookie = encodeURIComponent(a) + "=" + encodeURIComponent(b) + g + (e ? "; domain=" + e : "") + (d ? "; path=" + d : "") + (f ? "; secure" : "");
return true
},
removeItem: function(a, b, c) {
if (!this.hasItem(a)) {
return false
}
document.cookie = encodeURIComponent(a) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + (c ? "; domain=" + c : "") + (b ? "; path=" + b : "");
return true
},
hasItem: function(a) {
if (!a) {
return false
}
return (new RegExp("(?:^|;\\s*)" + encodeURIComponent(a).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(document.cookie)
},
keys: function() {
var a = document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g, "").split(/\s*(?:\=[^;]*)?;\s*/);
for (var b = a.length, nIdx = 0; nIdx < b; nIdx++) {
a[nIdx] = decodeURIComponent(a[nIdx])
}
return a
}
};
function changeSize(a, b) {
var c = parseInt(h.getItem("FontSize"));
var d;
if (c !== "") {
c = parseInt(a.css('font-size'))
}
if (b === 'decrease') {
if (c > 12) {
d = c - 1
}
} else if (b === 'increase') {
if (c < 22) {
d = c + 1
}
}
a.css('font-size', d + 'px');
h.setItem("FontSize", d, Infinity)
}
$('[data-toggle="font-decrease"]').click(function(e) {
changeSize(i, 'decrease');
e.preventDefault()
});
$('[data-toggle="font-increase"]').click(function(e) {
changeSize(i, 'increase');
e.preventDefault()
});
var i = $affectedElements,
fontSize = h.getItem("FontSize");
if (fontSize) {
i.css('font-size', fontSize + 'px')
}
});
</script>]]>
|
686
| <![CDATA[<script>
jQuery('#confirm-delete').on('show.bs.modal', function(e) {
$(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href'));
});
</script>]]>
|
695
| <![CDATA[<script type="text/javascript">
jQuery('.datepicker').datepicker({
endDate: '+1m',
language: "pt-BR"
});
if((jQuery("#data-inicial").val() != "") && (jQuery("#data-final").val() == "")){
jQuery("#data-inicial").val("");
alert("Você precisa informar as datas de início e fim.");
}
</script>]]>
|
706
| <![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-106219313-44', 'auto');
ga('send', 'pageview');
</script>]]>
|
719
| <![CDATA[<script> if (window.top!=window.self){ document.getElementsByTagName('header')[0].style.display = 'none'; document.getElementsByTagName('footer')[0].style.display = 'none'; document.getElementsByClassName('owl-wrapper')[0].style.display = 'none'; document.getElementsByClassName('gradient-navigation')[0].style.display = 'none'; } </script>]]>
|
722
| <![CDATA[<script language="javascript">document.write(unescape("%3C%64%69%76%20%76%77%20%63%6C%61%73%73%3D%22%65%6E%61%62%6C%65%64%22%3E%3C%64%69%76%20%76%77%2D%61%63%63%65%73%73%2D%62%75%74%74%6F%6E%20%63%6C%61%73%73%3D%22%61%63%74%69%76%65%22%3E%3C%2F%64%69%76%3E%3C%64%69%76%20%76%77%2D%70%6C%75%67%69%6E%2D%77%72%61%70%70%65%72%3E%3C%64%69%76%20%63%6C%61%73%73%3D%22%76%77%2D%70%6C%75%67%69%6E%2D%74%6F%70%2D%77%72%61%70%70%65%72%22%3E%3C%2F%64%69%76%3E%3C%2F%64%69%76%3E%3C%2F%64%69%76%3E%3C%73%63%72%69%70%74%20%73%72%63%3D%22%68%74%74%70%73%3A%2F%2F%76%6C%69%62%72%61%73%2E%67%6F%76%2E%62%72%2F%61%70%70%2F%76%6C%69%62%72%61%73%2D%70%6C%75%67%69%6E%2E%6A%73%22%3E%3C%2F%73%63%72%69%70%74%3E%3C%73%63%72%69%70%74%3E%6E%65%77%20%77%69%6E%64%6F%77%2E%56%4C%69%62%72%61%73%2E%57%69%64%67%65%74%28%27%68%74%74%70%73%3A%2F%2F%76%6C%69%62%72%61%73%2E%67%6F%76%2E%62%72%2F%61%70%70%27%2C%20%22%68%74%74%70%73%3A%2F%2F%66%69%6C%65%73%2E%65%61%73%79%77%65%62%2E%6E%65%74%2E%62%72%2F%76%6C%69%62%72%61%73%2F%64%65%66%61%75%6C%74%5F%6C%6F%67%6F%2E%6A%73%6F%6E%22%29%3B%3C%2F%73%63%72%69%70%74%3E"));</script>]]>
|