73
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-28321475-1');
</script>]]>
|
513
| <![CDATA[<script type="text/javascript">
var config = {
info: 'http://streaming26.hstbr.net/player/radioembumais/info.json',
social: 'http://streaming26.hstbr.net/player/radioembumais/social'
};
</script>]]>
|
532
| <![CDATA[<script>
$('form[name="buscago"]').on("submit", function(e) {
e.preventDefault();
busca = $("#inlineFormInput").val();
link = 'https://www.google.com.br/search?q=site%3Ahttp%3A%2F%2Fcidadeembudasartes.sp.gov.br+' + busca;
window.open(link, '_blank');
});
</script>]]>
|
932
| <![CDATA[<script>
/*comentario sem login*/
$('form[name="enviacomentf"]').on("submit", function(e) {
e.preventDefault();
if ($('#pnome').val() !== '') {
data = $(this).serialize();
coment = '&comentu=' + localStorage.getItem("comentario");
ipag = '&ipag=' + $('#inputid').val();
tipo = '&tipo=' + $('#inputipo').val();
data = data + coment + ipag + tipo;
$.ajax({
type: "POST",
url: 'http://cidadeembudasartes.sp.gov.br/embu/portal/comentario/comentar',
dataType: 'html',
secureuri: false,
data: data,
success: function(msg) {
console.log(msg);
$('#loginModal').modal('toggle');
$(".inputcoment").load("http://cidadeembudasartes.sp.gov.br/embu/portal/comentario/coment_input");
localStorage.setItem('coment-nome', $('#pnome').val());
localStorage.setItem('coment-email', $('#pemail').val());
}
});
}
});
$(".loginmodal").load("http://cidadeembudasartes.sp.gov.br/embu/portal/geral/carregalogin");
/*menu principal all*/
$('.loginmodal').hover(function(e) {
e.preventDefault();
$('.submetop2').stop(true, true).fadeOut(10);
obj2 = $(this).children('.submetop2');
$(obj2).stop(true, true).fadeIn(0);
}, function(e) {
e.preventDefault();
$('.submetop2').stop(true, true).delay(1000).fadeOut(10);
});
$('.submetop').css('width', '250px');
/*menu principal all*/
$('.limenutop').hover(function(e) {
e.preventDefault();
$('.submetop').stop(true, true).fadeOut(10);
obj2 = $(this).children('.submetop');
texto = $(this).children('a');
$(obj2).stop(true, true).fadeIn(0);
$(texto).css('color', '#ed1c24');
}, function(e) {
e.preventDefault();
$('.submetop').stop(true, true).delay(1000).fadeOut(10);
$('.submetop').css('width', '250px');
$(texto).css('color', '#555');
$('.submencid').css('margin-left', '0px');
});
/*menusecretaria*/
$('.secret').mouseover(function(e) {
e.stopPropagation();
$('.submencid').css('margin-left', '0px');
$("#divint2").html('<center><div class="bouncybox"><div class="bouncy"></div></center>');
$("ul.t_subsecret li a").removeClass("secret ativo");
id = $(this).attr('id');
id = id.replace("mese", "");
$(obj2).css('width', '610px');
if (id === '9999') {
$(obj2).css('width', '520px');
$('.submencid').css('margin-left', '-100px');
}
if (id === '0') {
$(obj2).css('width', '250px');
}
if (id === '01' || id === '02' || id === '03' || id === '04' || id === '05' || id === '06') {
$(obj2).css('width', '500px');
}
divact = '#' + id;
$('.variasmen').css('display', 'none');
$(divact).css('display', 'block');
$.ajax({
type: "POST",
url: 'http://cidadeembudasartes.sp.gov.br/embu/portal/home/buscasub',
dataType: 'html',
secureuri: false,
cache: false,
data: {
id: id
},
success: function(msg) {
$("#divint2").fadeOut(200, function() {
$("#divint2").html(msg);
$("#divint2").show(200);
});
}
});
});
/*login*/
$('form[name="loginpre"]').on("submit", function(e) {
e.preventDefault();
$.ajax({
type: "POST",
url: 'http://cidadeembudasartes.sp.gov.br/embu/portal/geral/logar',
dataType: 'html',
secureuri: false,
data: $(this).serialize(),
success: function(msg) {
console.log(msg);
if (msg === 'erro') {
$('.reslog').text('Usuario e senha não confere.');
} else if (msg !== '1') {
//alert('estou mexendo no cadastro... fecha essa janela no X e depois -> F5');
$(".recebecad").html(msg);
} else {
$('#loginModal').modal('toggle');
$(".loginmodal").load("http://cidadeembudasartes.sp.gov.br/embu/portal/geral/carregalogin");
}
if ($(".inputcoment")) {
$(".inputcoment").load("http://cidadeembudasartes.sp.gov.br/embu/portal/comentario/coment_input");
if (localStorage.getItem("enviar") === 'sim') {
comentu = '&comentu=' + $('#cm_comment1').val();
ipag = '&ipag=' + $('#inputid').val();
tipo = '&tipo=' + $('#inputipo').val();
dataf = comentu + ipag + tipo;
$.ajax({
type: "POST",
url: 'http://cidadeembudasartes.sp.gov.br/embu/portal/comentario/comentar',
dataType: 'html',
secureuri: false,
data: dataf,
success: function(msg) {
console.log(msg);
localStorage.clear();
}
});
}
}
}
});
});
</script>]]>
|
1105
| <![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&appId=266413046863409";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
1113
| <![CDATA[<script src="https://apis.google.com/js/platform.js" async defer> {lang: 'pt-BR'}</script>]]>
|
1141
| <![CDATA[<script>
$( ".icontop" ).hover(
function() {
$( this ).children('.icontopint').show();
}, function() {
$( this ).children('.icontopint').hide();
}
);
</script>]]>
|
1182
| <![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>]]>
|
1186
| <![CDATA[<script>
$( ".comentario" ).load( "http://cidadeembudasartes.sp.gov.br/embu/portal/comentario/comentario/2561-2" );
</script>]]>
|
1214
| <![CDATA[<script>
$( "#destaque" ).load( "http://cidadeembudasartes.sp.gov.br/embu/portal/geral/boxdestaque" );
</script>]]>
|
1223
| <![CDATA[<script>
quant = 0;
quantfoto = $( "ul.ngaleria li" ).length-1;
var animagaleria = function(){
if(quant > quantfoto){
quant = 0;
}
$( '.thumbGaleria' ).css( "opacity", ".5" );
obj = '#thumb'+quant;
bg = $(obj).css('background-image');
bg = bg.replace('url(','').replace(')','').replace(/\"/gi, "").replace('s144', 's400');
$('.thumbG').css('background-image', 'url(' + bg + ')');
$( obj ).css( "opacity", "1" );
console.log(quant);
quant = quant+1;
setTimeout(animagaleria, 6000);
};
animagaleria();
$( ".thumbGaleria" ).click(function() {
numero = $(this).attr('id');
numero = numero.replace('thumb', '');
//alert(numero);
bg = $(this).css('background-image');
bg = bg.replace('url(','').replace(')','').replace(/\"/gi, "").replace('s144', 's400');
$('.thumbG').css('background-image', 'url(' + bg + ')');
$( '.thumbGaleria' ).css( "opacity", ".5" );
$( this ).css( "opacity", "1" );
quant = parseInt(numero);
});
$( ".thumbG" ).hover(function() {
bg = $(this).css('background-image');
bg = bg.replace('url(','').replace(')','').replace(/\"/gi, "").replace('s400', 's800');
$('.imgG').attr("src", bg)
//$('.modal-body').css('background-image', 'url(' + bg + ')');
$('.modal-body').stop( true, true ).fadeIn(200);
}, function() {
$('.imgGG').stop( true, true ).fadeOut(200);
});
</script>]]>
|