70
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-28321475-1');
</script>]]>
|
510
| <![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>]]>
|
529
| <![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>]]>
|
929
| <![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>]]>
|
1075
| <![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>]]>
|
1083
| <![CDATA[<script src="https://apis.google.com/js/platform.js" async defer> {lang: 'pt-BR'}</script>]]>
|
1140
| <![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>]]>
|
1152
| <![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>]]>
|
1158
| <![CDATA[<script>
$( ".comentario" ).load( "http://cidadeembudasartes.sp.gov.br/embu/portal/comentario/comentario/12973-1" );
</script>]]>
|
1191
| <![CDATA[<script>
$( "#destaque" ).load( "http://cidadeembudasartes.sp.gov.br/embu/portal/geral/boxdestaque" );
</script>]]>
|
1198
| <![CDATA[<script>
$( "#imprimirnot" ).click(function() {
$(".bgtopo").hide();
$(".redecelnone").hide();
$(".btabrirnot").hide();
$(".redesnotin").hide();
$("#destaque").hide();
$("#tudosobre").hide();
$(".footerint").hide();
window.print();
});
$( ".close" ).click(function(e) {
e.preventDefault();
$('#recebecont').html('');
});
$( ".btvotoarvore" ).click(function(e) {
e.preventDefault();
$.ajax({
url: 'http://cidadeembudasartes.sp.gov.br/embu/portal/noticia/verenquete/0',
type: 'post',
data: {},
success: function(msg) {
$('#recebecont').html(msg);
$('.modalimgg').attr('src','');
}
});
});
</script>]]>
|