109
| <![CDATA[<div style='position: relative; margin:auto; height:100%; width:100%;'>
<a href="http://semac.piracicaba.sp.gov.br">
<img src="http://educativafm.com.br/piracicaba_brasao_menor_top.png" id="bar-brasao" align="left" border="0">
<div id="bar-title" >CULTURA</div>
</a>
<div id="menu-show-button" class="navbar-right-item ">
<a href='javascript:;' class="d-none d-sm-block">Menu</a>
<a href='javascript:;' class="d-sm-none" title="Menu"><i class="fa fa-bars"></i></a>
</div>
<div class="navbar-right-item ">
<a href="http://semac.piracicaba.sp.gov.br/agenda/" class="d-none d-sm-block">Agenda Cultural</a>
<a href="http://semac.piracicaba.sp.gov.br/agenda/" class="d-sm-none" title="Agenda Cultural"><i class="fa fa-calendar"></i></a>
</div>
</div>]]>
|
138
| <![CDATA[<div class='clearfix' style='display: block; width: 100%; padding: 15px;'>
<div class='menu-icon' title='Home'>
<a href='http://semac.piracicaba.sp.gov.br'><i class="fa fa-home"></i></a>
</div>
<div class='menu-icon' title='Agenda Cultural'>
<a href='http://semac.piracicaba.sp.gov.br/agenda/'><i class="fa fa-calendar"></i></a>
</div>
<div class="menu-search">
<div class="search-div">
<form role="search" method="get" class="search-form" action="http://semac.piracicaba.sp.gov.br/">
<input type="text" name="s" id="search" value="" placeholder="Procurar"/>
<button type="submit" class="search-submit"><i class="fa fa-search"></i></button>
</form>
</div>
</div>
</div>]]>
|
160
| <![CDATA[<div style='border-bottom: 1px solid white; margin: 0 15px;'></div>]]>
|
245
| <![CDATA[<img src="http://semac.piracicaba.sp.gov.br/wp-content/themes/semactur/assets/img/centro-de-informatica.png" style="margin-right:5px;" width="50" border="0">]]>
|
15
| <![CDATA[<style type="text/css">
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>]]>
|
31
| <![CDATA[<style id='addtoany-inline-css' type='text/css'>
.addtoany_content_bottom{
margin:40px 0px;
}
.addtoany_list a > span {
border-radius: 0px !important;
}
</style>]]>
|
82
| <![CDATA[<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>]]>
|
11
| <![CDATA[<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/semac.piracicaba.sp.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.23"}};
!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])?!1:!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([55358,56760,9792,65039],[55358,56760,8203,9792,65039])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings);
</script>]]>
|
49
| <![CDATA[<script data-cfasync="false">
window.a2a_config=window.a2a_config||{};a2a_config.callbacks=[];a2a_config.overlays=[];a2a_config.templates={};a2a_localize = {
Share: "Compartilhar",
Save: "Salvar",
Subscribe: "Inscrever",
Email: "Email",
Bookmark: "Favoritos",
ShowAll: "Mostrar tudo",
ShowLess: "Mostrar menos",
FindServices: "Procurar serviço(s)",
FindAnyServiceToAddTo: "Encontrar rapidamente qualquer serviço para",
PoweredBy: "Serviço fornecido por",
ShareViaEmail: "Share via email",
SubscribeViaEmail: "Subscribe via email",
BookmarkInYourBrowser: "Adicionar aos favoritos",
BookmarkInstructions: "Press Ctrl+D or \u2318+D to bookmark this page",
AddToYourFavorites: "Adicionar a favoritos",
SendFromWebOrProgram: "Send from any email address or email program",
EmailProgram: "Email program",
More: "More…",
ThanksForSharing: "Thanks for sharing!",
ThanksForFollowing: "Thanks for following!"
};
(function(d,s,a,b){a=d.createElement(s);b=d.getElementsByTagName(s)[0];a.async=1;a.src="https://static.addtoany.com/menu/page.js";b.parentNode.insertBefore(a,b);})(document,"script");
</script>]]>
|
262
| <![CDATA[<script>
jQuery(document).ready(function() {
jQuery.post(
'https://graph.facebook.com',
{
id: 'http://semac.piracicaba.sp.gov.br/tag/trofeu/',
scrape: true
},
function(response){
console.log(response);
}
);
var owl = jQuery(".featureds-home, .img-carousel").owlCarousel({
navigation : false, // Show next and prev buttons
slideSpeed : 300,
autoplayTimeout: 8000,
paginationSpeed : 400,
pagination: true,
navigationText: false,
autoPlay: true,
autoWidth:true,
singleItem:true
// "singleItem:true" is a shortcut for:
// items : 1,
// itemsDesktop : false,
// itemsDesktopSmall : false,
// itemsTablet: false,
// itemsMobile : false
}).data('owlCarousel');
jQuery('.chev-left').click(function(event){
event.preventDefault();
owl.prev();
})
jQuery('.chev-right').click(function(event){
event.preventDefault();
owl.next();
});
var owl_atrativos = jQuery(".atrativos-carousel").owlCarousel({
navigation : false, // Show next and prev buttons
autoplayTimeout: 8000,
slideSpeed : 300,
paginationSpeed : 400,
pagination: true,
navigationText: false,
autoPlay: true,
autoWidth:true,
items: 3
}).data('owlCarousel');
jQuery('.atra-chev-left a').on('click', function(){
owl_atrativos.prev();
})
jQuery('.atra-chev-right a').on('click', function(){
owl_atrativos.next();
});
});
</script>]]>
|
336
| <![CDATA[<script>
var hexDigits = new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f");
function rgb2hex(rgb) {
rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]);
}
function hex(x) {
return isNaN(x) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16];
}
jQuery(document).ready(function() {
// CODIGO DO MENU
jQuery('.sub-menu > li > ul').addClass('sub-menu2');
jQuery('.sub-menu2').removeClass('sub-menu');
jQuery(".sub-menu").hide();
jQuery(".sub-menu2").hide();
jQuery('.menu > li').hover(function(e){
jQuery(this).find('.sub-menu').stop().slideToggle();
});
jQuery('.sub-menu > li').hover(function(e){
jQuery(this).find('.sub-menu2').stop().slideToggle();
});
jQuery('.menu-item-has-children > a').addClass('seta-baixo');
jQuery('[data-toggle="tooltip"]').tooltip();
jQuery.getJSON( "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=UUx-TzWAkiq6CgbIhHQ-cgxQ&key=AIzaSyBtfLakdvNYIMItHDrMx889IN-iYadx9ZQ&maxResults=15", function( data ) {
jQuery.each(data.items, function(index, value){
var title_item = value.snippet.title;
var image_item = value.snippet.thumbnails.medium.url;
var video_item = value.snippet.resourceId.videoId;
var div = '<a href="https://www.youtube.com/watch?v='+video_item+'" target="_blank"><div class="videos-list"><img src="'+image_item+'" /><i class="fa fa-youtube-play"></i> '+title_item+'</div></a>';
jQuery('.videos-container').append(div);
})
}).done( function(){
var owl_videos = jQuery(".videos-container").owlCarousel({
navigation : false, // Show next and prev buttons
autoplayTimeout: 8000,
slideSpeed : 300,
paginationSpeed : 400,
pagination: true,
navigationText: false,
autoPlay: true,
autoWidth:true,
items: 3
}).data('owlCarousel');
jQuery('.video-chev-left a').on('click', function(){
owl_videos.prev();
})
jQuery('.video-chev-right a').on('click', function(){
owl_videos.next();
});
});
atualiza_clima();
setInterval( function(){
atualiza_clima();
},360000)
});
function atualiza_clima(){
jQuery.getJSON( "http://api.openweathermap.org/data/2.5/weather?q=Piracicaba,BR&units=metric&APPID=ca3593621abe1206f1ff3048d8202c5b", function( data ) {
var temp = Math.round(data.main.temp);
jQuery("#temp").html(temp);
var w = data.weather;
var i = w[0].icon;
var title = 'Neste momento, faz '+temp+'º graus em Piracicaba.';
if((i=="01d")||(i=="01n")){
var condition = 'O céu está aberto.';
}else if((i=="02d")||(i=="02n")){
var condition = 'Céu com poucas nuvens.';
}else if((i=="03d")||(i=="03n")){
var condition = 'O tempo está nublado.';
}else if((i=="03d")||(i=="03n")){
var condition = 'O tempo está nublado.';
}else if((i=="04d")||(i=="04n")){
var condition = 'O tempo está nublado.';
}else if((i=="09d")||(i=="09n")){
var condition = 'Está chuviscando no momento.';
}else if((i=="10d")||(i=="10n")){
var condition = 'Está chovendo no momento.';
}else if((i=="11d")||(i=="11n")){
var condition = 'Está chovendo forte no momento.';
}else if((i=="50d")||(i=="50n")){
var condition = 'Sujeito a neblina.';
}
var icon = 'http://semac.piracicaba.sp.gov.br/wp-content/themes/semactur/assets/img/icons/'+w[0].icon+'.png';
msg = title+' '+condition;
jQuery('.temp-navbar a').prop('title',msg);
jQuery('.temp-navbar a').attr('data-original-title',msg);
jQuery('#weather-img').prop('src',icon);
});
}
jQuery( window ).scroll(function() {
var scroll = $(window).scrollTop();
if(scroll > 250){
jQuery('.menu-atrativo h3').fadeIn('slow');
jQuery('.menu-atrativo').css('background','rgba(0,0,0,0.55)');
}else{
jQuery('.menu-atrativo h3').fadeOut('fast');
jQuery('.menu-atrativo').css('background','rgba(0,0,0,0)');
}
});
//enable all select
jQuery('select').prop( "disabled", false );
</script>]]>
|
497
| <![CDATA[<script>
jQuery('#menu-show-button').click(function(){
var showing = false;
jQuery('.menu-content').each(function(){
//if( jQuery(this).css('display') == 'none') jQuery(this).css('display', 'block');
//else jQuery(this).css('display', 'none');
showing = jQuery(this).css('display') == 'none';
jQuery(this).slideToggle();
});
if(showing) jQuery(this).find('i').attr('class', 'fa fa-arrow-circle-up');
else jQuery(this).find('i').attr('class', 'fa fa-bars');
});
</script>]]>
|