7
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-30196477-1');
</script>]]>
|
153
| <![CDATA[<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Article",
"headline": "Encontro de Família promove palestra sobre Alimentação Segura e Saudável",
"author": {
"@type": "Person",
"name": "Assessoria de Comunicação"
},
"datePublished": "2015-04-28 00:00",
"dateModified": "2015-04-28 00:00",
"articleSection": "Geral",
"url": "https://www.irupi.es.gov.br/conteudo/2015/04/encontro-de-familia-promove-palestra-sobre-alimentacao-segura-e-saudavel",
"image": "https://www.irupi.es.gov.br/uploads/media/2015/04/2_dsc00798.jpg",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://www.irupi.es.gov.br/conteudo/2015/04/encontro-de-familia-promove-palestra-sobre-alimentacao-segura-e-saudavel"
},
"publisher": {
"@type": "Organization",
"name": "Prefeitura Municipal de Irupi/ES",
"logo": {
"@type": "ImageObject",
"url": "https://www.irupi.es.gov.br/uploads/company/logo.png"
}
}
}</script>]]>
|
539
| <![CDATA[<script>
$(function() {
$(".continue-reading-btn").on('click', function (e) {
var animTime = 750,
$content = $(".continue-reading-content"),
$container = $(".continue-reading-container"),
$this = $(this);
e.preventDefault();
$content.css('max-height', '3000px').delay(animTime).queue(function (n) {
$content.removeClass('fechar');
$this.fadeOut(function () {
$container.remove()
});
$content.css('max-height', 'none');
n();
});
});
var shareBoxSelector = '.share-handler-wrap';
$(shareBoxSelector).on('click', '.bs-pretty-tabs-more', function () {
var $this = $(this),
$wrapper = $this.next('.bs-pretty-tabs-elements');
$wrapper.closest(shareBoxSelector).bsPrettyTabs('stop');
$wrapper.closest('.bs-pretty-tabs-container').replaceWith($wrapper.html());
}).on('after-pretty-tabs', function (e, pt) {
var $ch = pt.$element.children('.social-item');
$ch.removeClass('first last');
$ch.filter(':first').addClass('first');
$ch.filter(':last').addClass('last');
}).bsPrettyTabs({
menuContainerPosition: 'end',
menuContainerTag: 'span',
getContainerWidth: function (totalWidth) {
// consider 10 percent extra gap
if (window.innerWidth > 540) {
totalWidth -= Math.floor(totalWidth * 0.1);
}
return totalWidth;
},
moreContainer: '<a class="bs-pretty-tabs-more post-share-btn"><i class="bf-icon fas fa-plus"></i></a><ul class="bs-pretty-tabs-elements"></ul>',
});
}); //pretty_tabs
</script>]]>
|
981
| <![CDATA[<script type="text/javascript">
$('#menu_top li ul li.nav-item a.nav-link > div').on('mouseover mouseout', function() {
$(this).find('i').toggleClass('fa-chevron-down fa-chevron-right')
});
</script>]]>
|
1021
| <![CDATA[<script type="text/javascript">
$('a[href$=".pdf"]').not('.ver').attr('download', '').attr('target', '_blank');
// $('.verpdf').magnificPopup({
// disableOn: 700,
// type: 'iframe',
// mainClass: 'mfp-fade',
// removalDelay: 160,
// preloader: false,
// fixedContentPos: false
// });
</script>]]>
|
1036
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
if ($(window).width() <= 997) {
$('.btn-ligar').show();
}
$(window).resize(function () {
if ($(window).width() <= 997) {
$('.btn-ligar').show();
} else {
$('.btn-ligar').hide();
}
});
});
(function() {
var v = document.getElementsByClassName("youtube-player");
var iframePrincipal = document.getElementsByClassName("box_video_principal");
for (var n = 0; n < v.length; n++) {
var p = document.createElement("div");
p.innerHTML = videoThumb(v[n].dataset.id);
p.onclick = videoIframe;
v[n].appendChild(p);
}
})();
function videoThumb(id) {
return '<img class="youtube-thumb" src="https://i.ytimg.com/vi/' + id + '/hqdefault.jpg"><div class="play-button"></div>';
}
function videoIframe() {
var iframe = document.createElement("iframe");
iframe.setAttribute("class", "embed-responsive-item");
iframe.setAttribute("id", "youtube_frame");
iframe.setAttribute("src", "//www.youtube.com/embed/" + this.parentNode.dataset.id + "?autoplay=1&rel=0&autohide=2&border=0&wmode=opaque&enablejsapi=1&controls=0&showinfo=0");
iframe.setAttribute("frameborder", "0");
iframe.setAttribute("width", "100%");
//iframe.setAttribute("height", "650");
iframe.setAttribute("id", "youtube-iframe");
//this.parentNode.replaceChild(iframe, this);
$("div.embed-responsive").html(iframe);
}
function popupCompartilhar(url){
window.open(url,'sharer','toolbar=0,status=0,width=648,height=395');
return true;
}
_topNav();
function _topNav() {
window.scrollTop = 0;
// jQuery(window).scroll(function() {
// _toTop();
// });
// Mobile Submenu
var addActiveClass = false;
jQuery("#topMain a.dropdown-toggle").bind("click", function(e) {
if(jQuery(this).attr('href') == '#') {
e.preventDefault();
}
addActiveClass = jQuery(this).parent().hasClass("resp-active");
jQuery("#topMain").find(".resp-active").removeClass("resp-active");
if(!addActiveClass) {
jQuery(this).parents("li").addClass("resp-active");
}
return;
});
// Drop Downs - do not hide on click
jQuery("#topMain li.dropdown, #topMain a.dropdown-toggle").bind("click", function(e) {
e.stopPropagation();
});
// IE11 Bugfix
// Version 1.1
// Wednesday, July 23, 2014
if(jQuery("html").hasClass("ie") || jQuery("html").hasClass("ff3")) {
jQuery("#topNav ul.nav > li.mega-menu div").addClass('block');
jQuery("#topNav ul.nav > li.mega-menu div div").addClass('pull-left');
}
}
$('.imagem-item').magnificPopup({
type: 'image',
gallery:{
enabled:true
}
});
// $('.popup-youtube').magnificPopup({
// disableOn: 300,
// type: 'iframe',
// //mainClass: 'mfp-fade',
// removalDelay: 160,
// preloader: false,
// fixedContentPos: false
// });
// $('.popup-youtube').click(function () {
// return false;
// });
$('#drawerExample').drawer({ toggle: false });
$('#drawerExample').drawer({
toggle: false,
trigger: '[data-toggle="drawer"]'
});
function resetForm($form) {
$form.find('input:text, input:password, input:file, select, textarea').val('');
$form.find('input:radio, input:checkbox').removeAttr('checked').removeAttr('selected');
}
</script>]]>
|
1164
| <![CDATA[<script>
var lazy = function lazy() {
document.addEventListener('lazyloaded', function (e) {
e.target.parentNode.classList.add('image-loaded');
e.target.parentNode.classList.remove('loading');
});
}
lazy();
</script>]]>
|
1174
| <![CDATA[<script>
var $pagetitle = jQuery('#page-title-wrapper'),
pageTitleOffset = 0;
function stickyPageTitle( pageTitleOffset ){
if( $pagetitle.length < 1 ) { return true; }
if ( jQuery(window).scrollTop() > pageTitleOffset ) {
if( jQuery('body').hasClass('device-xl') || jQuery('body').hasClass('device-lg') ) {
$pagetitle.addClass('sticky-page-title');
} else {
$pagetitle.removeClass('sticky-page-title');
}
} else {
$pagetitle.removeClass('sticky-page-title');
}
}
function pageTitleHeight() {
$pagetitle.css({ 'height': jQuery('#page-title').outerHeight() });
}
stickyPageTitle( pageTitleOffset );
jQuery(document).ready( function(){
pageTitleHeight();
pageTitleOffset = $pagetitle.length ? $pagetitle.offset().top - jQuery('#header-wrap').outerHeight() : 0 ;
});
jQuery(window).on( 'resize', function(){
pageTitleHeight();
setTimeout( function(){
pageTitleOffset = $pagetitle.length ? $pagetitle.offset().top - jQuery('#header-wrap').outerHeight() : 0;
}, 500);
});
jQuery(window).on( 'scroll', function(){
stickyPageTitle( pageTitleOffset );
});
</script>]]>
|
1215
| <![CDATA[<script type="text/javascript">
$("#galeriaDetalhe").justifiedGallery({
rowHeight : 200,
lastRow : 'nojustify',
margins : 3
});
</script>]]>
|
1222
| <![CDATA[<script>
/**
* BS Pretty Tabs
**/
!function(e){
(function ($) {
function bsPrettyTabs($element, options) {
this.element = $element[0];
this.$element = $element;
this.overflowElements = [];
this.elementsWidth = 0;
this.lastExecutedBR = 0;
this.handleBR = false;
this.enable = true;
this.options = $.extend({
childClass: false,
mustDisplayClass: false,
menuContainerTag: 'div',
menuContainerClass: 'bs-pretty-tabs-container',
menuContainerPosition: 'beginning', // beginning|end
itemsWrapperSelector: false,
moreContainer: '<a href="#" class="bs-pretty-tabs-more">More <i class="fa fa-angle-down" aria-hidden="true"></i></a><div class="bs-pretty-tabs-elements"></div>',
getContainerWidth: function(width) {
return width;
},
initWrapperContainer: function ($wrapper) {
return $wrapper;
},
styleChangesAt: [] //breakpoint list
}, options);
if(this.options.styleChangesAt.length) {
this.handleBR = true;
this.options.styleChangesAt = this.options.styleChangesAt.sort(function(a,b) {
return a>b;
});
}
this.init();
}
$.extend(bsPrettyTabs.prototype, {
init: function () {
var self = this;
function prettyTabsInit() {
/**
* handle brakpoints
*/
if (self.handleBR && self.enable) {
var currentBR = self.getCurrentBR();
if (currentBR !== self.lastExecutedBR) {
self.retrieveElements(true);
self.getItems()
.each(function () {
var $el = $(this);
self._updateElementWidth($el);
});
self.lastExecutedBR = currentBR;
}
}
self.handlePrettyTabs();
}
$(window).on('resize.bsPrettyTabs', prettyTabsInit);
self.$element.addClass('bs-pretty-tabs bs-pretty-tabs-initialized');
prettyTabsInit();
},
getItemsWrapper: function() {
var $wrapper;
if(this.options.itemsWrapperSelector) {
$wrapper = this.$element.find(this.options.itemsWrapperSelector);
} else {
$wrapper = this.$element;
}
return $wrapper;
},
getItems:function(selector) {
return this.getItemsWrapper().children(selector);
},
getCurrentBR: function() {
var result = 0;
for(i = 0 ; i < this.options.styleChangesAt.length; i++) {
if(this.options.styleChangesAt[i] >= window.outerWidth) {
result = this.options.styleChangesAt[i];
break;
}
}
return result;
},
handlePrettyTabs: function () {
var self = this;
if(! self.enable) {
return;
}
self.collectOverflowElements();
if (self.overflowElements.length) {
self.overflowElements.forEach(function ($el) {
self.moveToInvisibleContainer($el);
});
} else {
self.retrieveElements();
}
// hide more tab if its overflowed otherwise display it
var totalWidth = this._getTotalWidth(),
moreTabWidth = this._getMenuLinkWidth(),
$menuContainer = this._getMenuContainer();
if(totalWidth < moreTabWidth ) {
$menuContainer.hide();
} else {
var containerWidth = totalWidth;
self._getVisibleElement().each(function() {
containerWidth -= self._getElementWidth($(this));
});
$menuContainer[moreTabWidth <= containerWidth && self._getInvisibleElements().length ? 'show' : 'hide']();
}
this.$element.trigger('after-pretty-tabs',[this]);
},
retrieveElements: function (retrieveAll) {
var totalWidth = this.options.getContainerWidth.call(this,this.$element.width()),
width = this.elementsWidth,
self = this;
if (self._getInvisibleElements().length) {
var children = this.getInvisibleElementsContainer()
.children();
var moved = false;
for (var i = 0; i < children.length; i++) {
var $this = $(children[ i ]),
elementWidth = self._getElementWidth($this),
withAfterMove = width + elementWidth;
if (retrieveAll || withAfterMove < totalWidth) {
width = withAfterMove;
self.moveToVisibleContainer($this);
moved = true;
} else {
break;
}
}
if( children.length === 1 && ! moved) {
if((withAfterMove - self._getMenuLinkWidth()) < totalWidth) {
self.moveToVisibleContainer(children);
self._getMenuContainer().remove();
}
}
} else {
this._getMenuContainer().remove();
}
},
_getInvisibleElements: function () {
var cls = this.options.menuContainerClass;
return this.$element
.find('.' + cls + ' .bs-pretty-tabs-elements').children();
},
_updateElementWidth: function ($element) {
var width = $element.outerWidth(true) + 1;
if ($element.data('bs-visibility') !== 'hidden') {
$element.data('bs-width', width);
return width;
}
return false;
},
_getElementWidth: function ($element) {
var width;
if($element.data('bs-visibility') === 'hidden') {
width = $element.data('bs-width');
} else {
width = this._updateElementWidth($element);
}
return width;
},
_getVisibleElement: function () {
var cls = this.options.menuContainerClass;
return this.getItems(':not(.' + cls + '):last');
},
_getMenuContainer: function () {
var $container = this.$element.find('.' + this.options.menuContainerClass);
if ($container.length) {
return $container;
}
return this._setMenuContainer();
},
_setMenuContainer: function () {
var $container = $('<' + this.options.menuContainerTag + '/>', {
'class': this.options.menuContainerClass
});
$container = this.options.initWrapperContainer.call(this, $container),
$container.append(this.options.moreContainer);
if (this.options.menuContainerPosition === 'end') {
$container.appendTo(this.getItemsWrapper());
} else {
$container.prependTo(this.getItemsWrapper());
}
$container.on('mouseover', function() {
$(this).addClass('display-more-items');
}).on('mouseout', function() {
$(this).removeClass('display-more-items');
}).on('click', function() {
$(this).toggleClass('display-more-items');
});
return $container;
},
_getMenuLinkWidth: function (force) {
var cls = this.options.menuContainerClass,
$el = this.$element.find('.' + cls + ' .bs-pretty-tabs-more');
var force = force || false;
if(! $el.length && ! force) {
this._setMenuContainer();
return this._getMenuLinkWidth(true);
}
return this._getElementWidth($el) || 0;
},
_getTotalWidth: function() {
return this.options.getContainerWidth.call(this,this.$element.width());
},
getInvisibleElementsContainer: function () {
return $('.bs-pretty-tabs-elements', this._getMenuContainer());
},
moveToInvisibleContainer: function (el) {
var $container = this.getInvisibleElementsContainer(),
$el = $(el);
$el.data('bs-visibility', 'hidden');
$el.prependTo($container);
},
moveToVisibleContainer: function ($el) {
var $container = this._getMenuContainer();
$el.data('bs-visibility', 'visible');
if(this.options.menuContainerPosition === 'end') {
$el.insertBefore(this._getMenuContainer());
} else {
$el.appendTo($container.parent());
}
},
/**
* Delete is element overflow
*
* @return {Boolean} true/false
*/
collectOverflowElements: function () {
var totalWidth = this._getTotalWidth(),
self = this;
this.overflowElements = [];
this.elementsWidth = self._getMenuLinkWidth();
var elWidth = 0;
this.getItems()
.each(function () {
var $this = $(this);
if (!$this.hasClass(self.options.menuContainerClass)) {
elWidth = self._getElementWidth($this);
self.elementsWidth += elWidth;
if (self.elementsWidth > totalWidth) {
//overflow occurred!
if (!$this.hasClass(self.options.menuContainerClass)) {
// dont collect mustDisplay elements
if(! self.options.mustDisplayClass || !$this.hasClass(self.options.mustDisplayClass)) {
self.overflowElements.push($this);
}
}
}
}
});
if(self.overflowElements.length === 1) { // Don't collect single element
if((self.elementsWidth - self._getMenuLinkWidth()+elWidth)<totalWidth) {
self.overflowElements.pop();
}
}
self.overflowElements = self.overflowElements.reverse();
},
changeState: function(state) {
this.enable = state === 'start';
}
});
$.fn.bsPrettyTabs = function (settings) {
return this.each(function () {
var $this = $(this);
if (typeof settings === 'string') {
var obj = $this.data('bs-pretty-tabs');
if(obj && obj.changeState) {
obj.changeState(settings);
}
} else if(! $this.data('bs-pretty-tabs')) {
var _PrettyTabs = new bsPrettyTabs($this, settings);
$this.data('bs-pretty-tabs', _PrettyTabs);
}
});
}
})(jQuery);
}(jQuery);
</script>]]>
|
1580
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|