Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) PB

Endereço Nota Erros Avisos

paraibabusiness.pb.gov.br/es/contato/

90.28 18 41
Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 6 302 303 304 305 310 312
1.1.6 Presença de javascript(s) interno 5 288 378 382 392 411
302 <![CDATA[<div style="width: 302px; height: 352px;"> <div style="width: 302px; height: 352px; position: relative;"> <div style="width: 302px; height: 352px; position: absolute;"> <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LctEwsTAAAAAKUTsZgSImWPkvxG7Ve6hcfF1h45" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"> </iframe> </div> <div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;"> <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="recaptcha_challenge_field" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""> </textarea> <input type='hidden' name='recaptcha_response_field' value='manual_challenge' /> </div> </div> </div>]]>
303 <![CDATA[<div style="width: 302px; height: 352px; position: relative;"> <div style="width: 302px; height: 352px; position: absolute;"> <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LctEwsTAAAAAKUTsZgSImWPkvxG7Ve6hcfF1h45" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"> </iframe> </div> <div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;"> <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="recaptcha_challenge_field" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""> </textarea> <input type='hidden' name='recaptcha_response_field' value='manual_challenge' /> </div> </div>]]>
304 <![CDATA[<div style="width: 302px; height: 352px; position: absolute;"> <iframe src="https://www.google.com/recaptcha/api/fallback?k=6LctEwsTAAAAAKUTsZgSImWPkvxG7Ve6hcfF1h45" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"> </iframe> </div>]]>
305 <![CDATA[<iframe src="https://www.google.com/recaptcha/api/fallback?k=6LctEwsTAAAAAKUTsZgSImWPkvxG7Ve6hcfF1h45" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"> </iframe>]]>
310 <![CDATA[<div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;"> <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="recaptcha_challenge_field" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""> </textarea> <input type='hidden' name='recaptcha_response_field' value='manual_challenge' /> </div>]]>
312 <![CDATA[<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="recaptcha_challenge_field" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""> </textarea>]]>
288 <![CDATA[<script type="text/javascript"> var DjangoRecaptchaOptions = { "lang": "es" }; if (typeof RecaptchaOptions !== 'object') { RecaptchaOptions = DjangoRecaptchaOptions; } else { for (key in DjangoRecaptchaOptions) { RecaptchaOptions[key] = DjangoRecaptchaOptions[key]; } } </script>]]>
378 <![CDATA[<script>window.jQuery || document.write('<script src="/static/assets/js/vendor/jquery.min.0652da382b6f.js"><\/script>')</script>]]>
382 <![CDATA[<script type="text/javascript"> (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-33545041-45', 'auto'); ga('send', 'pageview'); </script>]]>
392 <![CDATA[<script type="text/javascript"> $(document).ready(function() { $('.choose-languages-link').click(function(event) { event.preventDefault(); var nextURL = $(this).attr('href'); var lang = $(this).data('lang'); var token = $(this).data('token'); var url = '/i18n/setlang/' $.post(url, {language: lang, csrfmiddlewaretoken: token}, function(data) { console.log(data); window.location.href = nextURL; }); }); }); </script>]]>
411 <![CDATA[<script> jQuery(document).ready(function($) { $('.phoneMask').inputmask('(99) 9999[9]-9999'); autosize($('.textarea')); function validate(form){ var isFormValid = true; form.find('.row').each(function(index, element) { var current = $(element); console.log(current); if(current.data('validation') == true){ var currentLocal = current.find('input, select, textarea'); if(currentLocal.val().trim().length == 0){ isFormValid = false; var formGroup = current; if(!formGroup.hasClass('error')){ formGroup.addClass('error'); current.append('<div class="msg-error">Este campo é obrigatório.</div>'); } } else { current.removeClass('error'); currentLocal.next('.msg-error').remove(); } } if(current.data('email') == true){ var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; var currentLocal = current.find('input, select, textarea'); if(!re.test(currentLocal.val().trim())){ isFormValid = false; var formGroup = current; if(!formGroup.hasClass('error')){ formGroup.addClass('error'); current.append('<div class="msg-error">E-mail inválido.</div>'); } } else { current.removeClass('error'); currentLocal.next('.msg-error').remove(); } } if (current.data('captcha') == true) { if(current.find('#g-recaptcha-response').val().length == 0) { isFormValid = false; var captchaError = '<div class="msg-error">Este campo é obrigatório.</div>'; $(captchaError).hide().appendTo("#captcha-message-error").fadeIn(1000); } } if(current.data('checkbox') == true){ var currentLocal = current.find('input, select, textarea'); var checado=false; current.find('input').each(function(){ if($(this).is(':checked')) { checado = true; } }); if(!checado){ isFormValid = false; var formGroup = current; if(!formGroup.hasClass('error')){ formGroup.addClass('error'); current.append('<div class="msg-error">Este campo é obrigatório.</div>'); } } else { current.removeClass('error'); currentLocal.next('.msg-error').remove(); } } }); return isFormValid; } $('.btn-submit-form').on('click', function(event) { event.preventDefault(); // $('#captcha-message-error').empty(); var form = $('.ui-form'); if(validate(form)){ form.submit(); } else { $('html, body').animate({ scrollTop: $('.pg-contact-content').offset().top }, 1000); } }); $('.msg-success .btn-back').on('click', function(){ $('.msg-success').addClass('is-hidden'); $('.pg-contact-form').removeClass('is-hidden'); }); }); </script>]]>