35
| <![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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37371136-1', 'mg.gov.br');
ga('send', 'pageview');
</script>]]>
|
58
| <![CDATA[<script type="text/javascript">
// Para usar coloque o comando:
// "javascript:mudaTamanho('tag_ou_id_alvo', -1);" para diminuir
// e o comando "javascript:mudaTamanho('tag_ou_id_alvo', +1);" para aumentar
var tagAlvo = new Array('span', 'table', 'div'); //pega todas as tags span//
// Especificando os possíveis tamanhos de fontes, poderia ser: x-small, small...
var tamanhos = new Array('0.88em','0.94em','1em','1.06em','1.12em','1.18em');
var tamanhoInicial = 2;
function mudaTamanho( idAlvo,acao ){
if (!document.getElementById) return
var selecionados = null,tamanho = tamanhoInicial,i,j,tagsAlvo;
if ( !( selecionados = document.getElementById( idAlvo ) ) ) selecionados = document.getElementsByTagName( idAlvo )[ 0 ];
//selecionados.style.fontSize = tamanhos[ tamanho ];
if(acao == 'reset'){
tamanhoInicial = 2
for ( i = 0; i < tagAlvo.length; i++ ){
tagsAlvo = selecionados.getElementsByTagName( tagAlvo[ i ] );
for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanhos[ tamanhoInicial ];
}
}
else{
tamanho += acao;
if ( tamanho < 0 ) tamanho = 0;
if ( tamanho > 6 ) tamanho = 6;
tamanhoInicial = tamanho;
for ( i = 0; i < tagAlvo.length; i++ ){
tagsAlvo = selecionados.getElementsByTagName( tagAlvo[ i ] );
for ( j = 0; j < tagsAlvo.length; j++ ) tagsAlvo[ j ].style.fontSize = tamanhos[ tamanho ];
}
}
}
</script>]]>
|
100
| <![CDATA[<script type="text/javascript">
var controle = 0;
function contraste() {
if(controle == 0){
var all = document.getElementsByTagName("*");
for (var i=0, max=all.length; i < max; i++) {
console.log(all[i]);
all[i].style.color = "#fff";
/*all[i].style.fontWeight = "bold";*/
all[i].style.background = "#333";
var objCab = document.getElementById("box_cab");
objCab.style.borderBottomColor = "#333";
var objAcessibilidade = document.getElementById("box_acessibilidade");
objAcessibilidade.style.borderBottomColor = "yellow";
var objFoot = document.getElementById("box_foot");
objFoot.style.borderTopColor = "yellow";
var objSubmenu = document.getElementById("sub_menu_icones");
objSubmenu.style.borderBottomColor = "white";
/*var objBotaoImprimir = document.getElementById("botao_imprimir_noticia");
objBotaoImprimir.style.background = "yellow";
objBotaoImprimir.style.color = "#333";
objBotaoImprimir.style.fontWeight = "bold";*/
}
controle = 1;
}
else{
window.location.reload(false);
}
}
</script>]]>
|
234
| <![CDATA[<script language="javascript">
$('#open_infotrans').click(function(){
$('#menu_toogle_infotrans').animate({height: 'toggle'}, 'fast');
});
</script>]]>
|
260
| <![CDATA[<script language="javascript">
$('#open_busca').click(function(){
$('#menu_toogle_busca').animate({height: 'toggle'}, 'fast');
});
</script>]]>
|
627
| <![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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37371136-1', 'mg.gov.br');
ga('send', 'pageview');
</script>]]>
|