53
| <![CDATA[<script>
function abrirFigura(linkImage,titulo){
$("#figuraNoticia").html("<img src='"+linkImage+"'>");
var img = document.createElement('img');
img.src = linkImage;
$("#figuraNoticia").dialog({
beforeClose: function( event, ui ) {
$.unblockUI();
},
minWidth: img.width+10,
title: titulo
});
$.blockUI();
}
</script>]]>
|
75
| <![CDATA[<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
138
| <![CDATA[<script>
function background(){
if (document.bgColor == '#000000'){
document.bgColor = '#FFFFFF';
document.body.style.color = '#000000';
}else{
document.bgColor = '#000000';
document.body.style.color = '#FFFFFF';
}
}
function fonte(par){
tamanho = document.body.style.fontSize;
tamanho = (!tamanho) ? 10 : parseInt(tamanho.substring(0,2));
if(par == 'aumentar' && tamanho < 20)
tamanho++;
else if(par == 'diminuir' && tamanho > 7)
tamanho--;
document.body.style.fontSize = tamanho+"px";
var items = document.getElementsByTagName("td");
for (var i = 0; i < items.length; i++) {
document.getElementsByTagName('td')[i].style.fontSize = tamanho+"px";
}
items = document.getElementsByTagName("div");
for (var i = 0; i < items.length; i++) {
document.getElementsByTagName('div')[i].style.fontSize = tamanho+"px";
}
items = document.getElementsByTagName("a");
for (var i = 0; i < items.length; i++) {
document.getElementsByTagName('a')[i].style.fontSize = tamanho+"px";
}
}
function mudarCabecalho() {
var pag = document.getElementById('Pag');
if (pag.getAttribute('class')=='cabecalho')
pag.setAttribute('class','cabecalho2');
else
pag.setAttribute('class','cabecalho');
}
</script>]]>
|
258
| <![CDATA[<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>]]>
|