13
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-285486-1');
gtag('config', 'UA-285486-76', {'groups':'ibgelabs'});
</script>]]>
|
25
| <![CDATA[<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5ND2WBQ');</script>]]>
|
77
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"794a57c11d00b185ae090d7e6f75dcac","system.paths":{"root":"","base":""}}</script>]]>
|
319
| <![CDATA[<script>
jQuery(document).ready(function(){
/* seleciona modo de exibição de acordo com escolha do usuario */
// jQuery('#ordem').on('change',function(){
// debugger
// jQuery('.group').hide();
// jQuery('.'+jQuery(this).val()).show();
// });
jQuery('input[type=radio][name="jform[ordem]"]').change(function() {
jQuery('.group').hide();
jQuery('.'+this.value).show();
});
/* Filtra texto a partir de campo de busca */
jQuery("#filterTextBox").on("keyup", function () {
var search = this.value.toLowerCase();
jQuery( ".content-box" ).each(function() {
a = this;
var af_txt = accent_fold(a.innerText.toLowerCase());
var af_search = accent_fold(search);
if (af_txt.search(af_search) > -1 || ( search == '')) { this.hidden = false } else { this.hidden = true };
});
/* Remove indice se não possuir nada após busca */
jQuery('.conteudo__interna__indice').each(function(){
var indice = jQuery(this);
var allHidden = true;
indice.find('.content-box').each(function(){
var child = this;
if(!child.hidden){
allHidden = false;
}
});
allHidden ? indice.hide() : indice.show();
});
});
/* Inicia selecionando um modo de exibição */
//jQuery('input[type=radio][name="jform[ordem]"]').change();
});
</script>]]>
|
383
| <![CDATA[<script>
function goToStep(button, step) {
var _this = jQuery(button);
var thisStep = _this.parent().attr("data-step");
var nextStep = step;
jQuery('.container__foiutil__step[data-step=' + nextStep + ']').show();
jQuery('.container__foiutil__step[data-step=' + thisStep + ']').hide();
if(nextStep == 3){
if(thisStep == 1)
sendResultFoiUtil(false);
else
sendResultFoiUtil(true);
}
}
function sendResultFoiUtil(hasComment) {
var container = jQuery("#container-foiutil");
var obj = {};
obj.id_aplicacao = parseInt(container.attr("data-aplicacao"));
obj.id_modelo = parseInt(container.attr("data-modelo"));
obj.url = location.href;
obj.ip = "10.200.0.37";
obj.browser = " 0 - unix";
obj.mobile = "0";
obj.respostas = [];
if(hasComment) {
obj.respostas.push({num_questao: "1",
resposta: "0",
observacao: ""
});
obj.respostas.push({num_questao: "2",
resposta: "",
observacao: jQuery('.container__foiutil__step[data-step=2]').find("textarea").val()
});
} else {
obj.respostas.push({num_questao: "1",
resposta: "1",
observacao: ""
});
obj.respostas.push({num_questao: "2",
resposta: "",
observacao: ""
});
}
//Envia resultados
jQuery.ajax({
url: '/index.php?option=com_questionario&format=json',
type: 'POST',
headers: {
'Content-Type':'application/json'
},
data: JSON.stringify(obj),
dataType: "json",
success: function(data) {
}
});
}
</script>]]>
|
686
| <![CDATA[<script>
jQuery('.accordion-mobile span').click(function(evt) {
if (jQuery(window).width() < 1024) {
jQuery(this).next().toggle("slide");
jQuery(this).toggleClass("active");
}
});
var baseSticky = 95;
jQuery(document).ready(function(){
var scroll = jQuery(window).scrollTop();
changeHeaderScroll(scroll);
});
jQuery(window).scroll(function() {
var scroll = jQuery(window).scrollTop();
changeHeaderScroll(scroll);
});
function changeHeaderScroll(scroll) {
if (scroll >= baseSticky) {
jQuery("body").addClass("sticky");
} else {
jQuery("body").removeClass("sticky");
}
}
</script>]]>
|
718
| <![CDATA[<script>
var unique_getCod_var = '';
function unique_getCodMiniURLQR_main(){
var local_url = window.location.toString();
if (local_url.indexOf("barragov")<0)
{
var full_url = 'https://cod.ibge.gov.br/min?js=unique_getCod_var=&u=' + encodeURIComponent(local_url);
//unique_getCodMiniURLQR_ajax(full_url,unique_getCodMiniURLQR_AfterFunc);
}
}
function unique_getCodMiniURLQR_ajax(url,afterfunction) {
//Onde: url = URL a ser carregada | e afterfunction = fnção a ser executada apos o carregamento da url, opcional
var headID = document.getElementsByTagName("head")[0];
var newScript = document.createElement('script');
newScript.type = 'text/javascript';
newScript.src = url;
newScript.id = 'tempdatascript' + Math.floor(Math.random()*9999999);
headID.appendChild(newScript);
if(navigator.appName == 'Microsoft Internet Explorer'){
newScript.onreadystatechange= function(){ if (this.readyState == 'complete' || this.readyState == 'loaded')afterfunction();}
}else{
newScript.onload = afterfunction;
}
}
function unique_getCodMiniURLQR_AfterFunc(){
//Matenha esta funcao vazia
}
unique_getCodMiniURLQR_main();
</script>]]>
|
759
| <![CDATA[<script>
var erro_servico = [];
</script>]]>
|