8
| <![CDATA[<script type="text/javascript">
jQuery(function($){
if (typeof($.datepicker) != "undefined"){
$.datepicker.setDefaults(
jQuery.extend($.datepicker.regional['pt-BR'],
{dateFormat: 'dd/mm/yy'}));
}
});
</script>]]>
|
21
| <![CDATA[<script>
$( document ).ready(function() {
$('#iframe-portalparaiba-no-scroll iframe').iFrameResize({
widthCalculationMethod: 'max'
});
$('#iframe-portalparaiba-no-scroll iframe').attr('scrolling','no');
$('#iframe-portalparaiba-auto-scroll iframe').iFrameResize({
widthCalculationMethod: 'max'
});
$('#iframe-portalparaiba-auto-scroll iframe').attr('scrolling','auto');
$('#iframe-portalparaiba-yes-scroll iframe').iFrameResize({
widthCalculationMethod: 'max'
});
$('#iframe-portalparaiba-yes-scroll iframe').attr('scrolling','yes');
$('#iframe-portalparaiba iframe').attr('scrolling','no');
$('#iframe-portalparaiba iframe').iFrameResize({
widthCalculationMethod: 'max'
});
});
</script>]]>
|
1393
| <![CDATA[<script>
// <![CDATA[
jQuery(function($){
$('.compromisso-acao a.acao').prepOverlay(
{
subtype: 'ajax',
filter: common_content_filter,
formselector: '#delete_confirmation',
cssclass: 'overlay-compromisso',
noform: function(el) {return $.plonepopups.noformerrorshow(el, 'redirect');},
redirect: $.plonepopups.redirectbasehref,
closeselector: '[name="form.button.Cancel"]',
width:'50%'
}
);
});
// add style to mark active event on calendar portlet
$(document).ready(function () {
'use strict';
var url = window.location.href;
url = url.substring(0, url.indexOf("?"));
var active = $('.ploneCalendar a[href="' + url + '"]');
active.parents('td').addClass('activeevent');
});
// Fixes the change between months in the extended calendar portlet
(function ($) {
function load_portlet_calendar(event, elem) {
event.preventDefault();
event.stopPropagation();
var pw, elem_data, portlethash, url;
pw = elem.closest('.portletWrapper');
elem_data = elem.data();
portlethash = pw.attr('id');
portlethash = portlethash.substring(15, portlethash.length);
url = portal_url +
'/@@render-portlet?portlethash=' + portlethash +
'&year=' + elem_data.year +
'&month=' + elem_data.month;
$.ajax({
url: url,
success: function (data) {
pw.html(data);
rebind_portlet_calendar();
}
});
}
function rebind_portlet_calendar() {
$('.portletCalendar a.calendarNext').click(function (event) {
load_portlet_calendar(event, $(this));
});
$('.portletCalendar a.calendarPrevious').click(function (event) {
load_portlet_calendar(event, $(this));
});
}
$(document).ready(function () {
rebind_portlet_calendar();
});
}(jQuery));
// ]]>
</script>]]>
|
1633
| <![CDATA[<script>window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));
</script>]]>
|
1649
| <![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.6";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>]]>
|
1657
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-64192421-9');
</script>]]>
|
1669
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|