5
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-11181463-23', 'auto');
ga('send', 'pageview');
</script>]]>
|
15
| <![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>]]>
|
43
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function () {
jQuery.extend(jQuery.validator.messages, {
required: "Este campo é obrigatório.",
remote: "Please fix this field.",
email: "Por favor, digite um e-mail válido: <br /><span>Ex. yourname@domain.com</span>",
url: "Por favor, digite uma URL válida: <br /><span>Ex. http://www.domain.com</span>",
date: "Por favor, digite uma data válida.",
dateISO: "Please enter a valid date (ISO).",
number: "Por favor, digite um número válido.",
digits: "Por favor, digite um dígito.",
creditcard: "Please enter a valid credit card number.",
equalTo: "Por favor, repita o valor.",
maxlength: jQuery.validator.format("Por favor, digite não mais que {0} caracteres."),
minlength: jQuery.validator.format("Por favor, digite pelo menos {0} caracteres."),
rangelength: jQuery.validator.format("Por favor, digite de {0} até {1} carácter."),
range: jQuery.validator.format("Por favor, digite um número entre {0} e {1}."),
max: jQuery.validator.format("Por favor, digite um número menor ou igual a {0}."),
min: jQuery.validator.format("Por favor, digite um número maior ou igual a {0}."),
customvalidation: "Entrada Inválida!"
});
});
jQuery(document).ready(function () {
jQuery.validator.addMethod("dateDMY", function (value, element) {
var check = false;
var re = /^(0[1-9]|[12][0-9]|3[01])[\.](0[1-9]|1[012])[\.]\d{4}$/;
if (re.test(value)) {
var adata = value.split(".");
var day = parseInt(adata[0], 10);
var month = parseInt(adata[1], 10);
var year = parseInt(adata[2], 10);
if (day == 31 && (month == 4 || month == 6 || month == 9 || month == 11)) {
check = false; // 31st of a month with 30 days
} else if (day >= 30 && month == 2) {
check = false; // February 30th or 31st
} else if (month == 2 && day == 29 && !(year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))) {
check = false; // February 29th outside a leap year
} else {
check = true; // Valid date
}
}
return this.optional(element) || check;
});
jQuery.validator.addMethod("dateMDY", function (value, element) {
var check = false;
var re = /^(0[1-9]|1[012])[\/](0[1-9]|[12][0-9]|3[01])[\/]\d{4}$/;
if (re.test(value)) {
var adata = value.split("/");
var month = parseInt(adata[0], 10);
var day = parseInt(adata[1], 10);
var year = parseInt(adata[2], 10);
if (day == 31 && (month == 4 || month == 6 || month == 9 || month == 11)) {
check = false; // 31st of a month with 30 days
} else if (day >= 30 && month == 2) {
check = false; // February 30th or 31st
} else if (month == 2 && day == 29 && !(year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))) {
check = false; // February 29th outside a leap year
} else {
check = true; // Valid date
}
}
return this.optional(element) || check;
});
jQuery.validator.addMethod("dateYMD", function (value, element) {
var check = false;
var re = /^\d{4}[\-](0[1-9]|1[012])[\-](0[1-9]|[12][0-9]|3[01])$/;
if (re.test(value)) {
var adata = value.split("-");
var year = parseInt(adata[0], 10);
var month = parseInt(adata[1], 10);
var day = parseInt(adata[2], 10);
if (day == 31 && (month == 4 || month == 6 || month == 9 || month == 11)) {
check = false; // 31st of a month with 30 days
} else if (day >= 30 && month == 2) {
check = false; // February 30th or 31st
} else if (month == 2 && day == 29 && !(year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))) {
check = false; // February 29th outside a leap year
} else {
check = true; // Valid date
}
}
return this.optional(element) || check;
});
jQuery.validator.addMethod("filesize", function (value, element, maxsize) {
var check = false;
if ((maxsize === 0) || ((!(element.files.length == 0)) && (element.files[0].size < maxsize)))
{
check = true;
}
return this.optional(element) || check;
});
jQuery.validator.addMethod("fileextension", function (value, element, allowedextension) {
var check = false;
allowedextension = allowedextension.replace(/\s/g, "");
allowedextension = allowedextension.split(",");
var fileext = jQuery(element).val().split(".").pop().toLowerCase();
if (jQuery.inArray(fileext, allowedextension) > -1)
{
check = true;
}
return this.optional(element) || check;
});
jQuery.validator.addMethod("customvalidation", function (value, element, re) {
return this.optional(element) || re.test(value);
});
});
jQuery(document).ready( function(){jQuery("#field27").focus();});
</script>]]>
|
158
| <![CDATA[<script type="text/javascript">
if(jQuery().jquery=='1.11.0') { jQuery.easing['easeOutExpo'] = jQuery.easing['easeOutCirc'] };
</script>]]>
|
736
| <![CDATA[<script type="text/javascript">
</script>]]>
|
780
| <![CDATA[<script type="text/javascript">
//<![CDATA[
jQuery(document).ready( function() {
var myMenu = new MenuMatic({
tabletWidth:1400,
effect:"fade",
duration:500,
physics: 'easeOutCirc',
hideDelay:250,
orientation:"horizontal",
tweakInitial:{x:0, y:0},
direction:{ x: 'right', y: 'down' },
opacity:100 });
});
//]]>
</script>]]>
|
814
| <![CDATA[<script type="text/javascript">
function abrir_sub(){
document.getElementById("sub-editorias").style.display="block";
}
function fechar_sub(){
document.getElementById("sub-editorias").style.display="none";
}
</script>]]>
|
932
| <![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.3&appId=465486936800543";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
1001
| <![CDATA[<script language="JavaScript" type="text/javascript">
var s5_responsive_layout = "sidebar";
var s5_responsive_layout_direction = "_ltr";
var s5_responsive_menu_auto_open = "open";
</script>]]>
|
1014
| <![CDATA[<script type="text/javascript">//<![CDATA[
var s5_load_parallax_scroll_speed = 5.0;
function s5_check_parallax_scroll(s5_parallax_element,s5_parallax_position) {
if (document.getElementById(s5_parallax_element)) {
//Detect elements that are view when page loads so that they start at background-position:0 0
if (document.getElementById(s5_parallax_element).offsetTop <= window.innerHeight) {
document.getElementById(s5_parallax_element).style.backgroundPosition = s5_parallax_position + (((window.pageYOffset + document.getElementById(s5_parallax_element).offsetTop) - (document.getElementById(s5_parallax_element).offsetTop)) / s5_load_parallax_scroll_speed)*-1 + "px";
}
//Detect elements that are outside of the viewable area so they do not start scrolling until they come into view
else {
if ((window.pageYOffset + window.innerHeight >= document.getElementById(s5_parallax_element).offsetTop) && (window.pageYOffset <= (document.getElementById(s5_parallax_element).offsetTop + document.getElementById(s5_parallax_element).offsetHeight))) {
document.getElementById(s5_parallax_element).style.backgroundPosition = s5_parallax_position + (((window.pageYOffset + window.innerHeight) - (document.getElementById(s5_parallax_element).offsetTop)) / s5_load_parallax_scroll_speed)*-1 + "px";
}
}
}
}
jQuery(document).ready( function() {
function s5_parallax_scroll_handler() {
}
s5_parallax_scroll_handler();
if(window.addEventListener) {
window.addEventListener('scroll', s5_parallax_scroll_handler, false);
window.addEventListener('resize', s5_parallax_scroll_handler, false);
}
else if (window.attachEvent) {
window.attachEvent('onscroll', s5_parallax_scroll_handler);
window.attachEvent('onresize', s5_parallax_scroll_handler);
}
});
//]]></script>]]>
|
1291
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function () {
jQuery('#visform2').validate({
submitHandler: function(form)
{
form.submit();
jQuery(form).find('input[type="submit"]').prop("disabled", true);
jQuery(form).find('input[type="reset"]').prop("disabled", true);
jQuery(form).find('input[type="image"]').prop("disabled", true);
},
wrapper: "p",
//absolutly necessary when working with tinymce!
ignore: ".ignore",
rules: {
},
messages: {
},
errorPlacement: function (error, element) {
var errorfieldid = element.attr("id");
errorfieldid = errorfieldid.replace(/_\d+$/, '_0');
error.appendTo('div.fc-tbx' + errorfieldid);
error.addClass("errorcontainer");
},
});
jQuery('.captcharefresh2').on(
'click', function () {
if (jQuery('#captchacode2')) {
jQuery('#captchacode2').attr('src', 'index.php?option=com_visforms&task=visforms.captcha&sid=' + Math.random() + '&id=2');
}
});
jQuery('#visform2').initVisform({visform : {"fid":"2","initEditor":false,"parentFormId":"visform2","steps":1,"nbFields":4,"summaryLayout":"table","summaryLayoutClass":"","summaryRowLayout":"tr","oSummaryFirstElementLayout":"<td>","cSummaryFirstElementLayout":"<\/td>","oSummarySecondElementLayout":"<td>","cSummarySecondElementLayout":"<\/td>","displaysummarypage":false,"hideemptyfieldsinsummary":false,"fields":"[{\"id\" : 27, \"type\" : \"text\",\"label\":\"Nome\"},{\"id\" : 28, \"type\" : \"email\",\"label\":\"Email\"},{\"id\" : 29, \"type\" : \"textarea\",\"label\":\"Mensagem\"},{\"id\" : 30, \"type\" : \"submit\",\"label\":\"Enviar\"}]"}, restrictData : {}, userInputs : [
{type : "text" ,label : "field27" , value: "", isDisabled : false, isForbidden: false},
{type : "email" ,label : "field28" , value: "", isDisabled : false, isForbidden: false},
{type : "textarea" ,label : "field29" , value: "", isDisabled : false, isForbidden: false}]});
});
</script>]]>
|
1553
| <![CDATA[<script type="text/javascript">
var s5_multibox_enabled = 1;
jQuery(document).ready(function(){
jQuery('.s5mb').each(function(i,z){if(!z.getAttribute('rel'))z.setAttribute('rel','[me]');});
}(jQuery));
var s5mbox = {};
jQuery(document).ready(function($){
initMultibox('.s5mb');
});
function initMultibox(mbClass){
window.s5mbox = new multiBox({
mbClass: mbClass,/*class you need to add links that you want to trigger multiBox with (remember and update CSS files)*/
container: jQuery(document.body),/*where to inject multiBox*/
path: 'http://agenciaalagoas.al.gov.br/templates/design_control/js/multibox/',/*path to mp3player and flvplayer etc*/
useOverlay: true,/*detect overlay setting*/
maxSize: {w:600, h:400},/*max dimensions (width,height) - set to null to disable resizing*/
movieSize: {w:400, h:300},
addDownload: false,/*do you want the files to be downloadable?*/
descClassName: 's5_multibox',/*the class name of the description divs*/
pathToDownloadScript: 'http://agenciaalagoas.al.gov.br/templates/design_control/js/multibox/forceDownload.asp',/*if above is true, specify path to download script (classicASP and ASP.NET versions included)*/
addRollover: true,/*add rollover fade to each multibox link*/
addOverlayIcon: false,/*adds overlay icons to images within multibox links*/
addChain: false,/*cycle through all images fading them out then in*/
recalcTop: true,/*subtract the height of controls panel from top position*/
addTips: true,/*adds MooTools built in 'Tips' class to each element (see: http://mootools.net/docs/Plugins/Tips)*/
autoOpen: 0/*to auto open a multiBox element on page load change to (1, 2, or 3 etc)*/
}); }
<!--}(jQuery));-->
Eventx.onResizend(function(){
s5mbox.resize();
});
</script>]]>
|
1598
| <![CDATA[<script type='text/javascript'>
jQuery(document).ready(function(){
jQuery('.s5_is_slide').each(function (i, d) {
jQuery(d).wrapInner(jQuery('<div class="s5_is_display"></div>'));
});
var options = {
wrapperId: "s5_body"
};
var slide = new Slidex();
slide.init(options);
});
</script>]]>
|
1639
| <![CDATA[<script type="text/javascript">
/*
var _hta = {'_setToken': '79a59a6bb9b10708f1ed5468ce8e92afed01f7d8','_htException': 'HandTalk_EXCECAO'};
(function() {
var ht = document.createElement('script'); ht.type = 'text/javascript'; ht.async = true;
ht.src = 'http://api.handtalk.me/handtalk_init.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.appendChild(ht);
})();
*/
// HandTalk_EXCECAO -> ID ou CLASSE do elemento que desejar exceção, separados por virgula
// Exemplo: '#menu,.listas,.formulario,#carrousel'
</script>]]>
|
1660
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|