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

Sites Pertecentes a (o) PR

Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 5 69 777 823 1027 1189
69 <![CDATA[<script type="text/javascript"> window.addEvent('domready', function() { SqueezeBox.initialize({}); SqueezeBox.assign($$('a.modal'), { parse: 'rel' }); }); var K2SitePath = '/'; //<![CDATA[ hs.graphicsDir = '/plugins/content/jw_sigpro/jw_sigpro/includes/js/highslide/graphics/'; hs.align = 'center'; hs.transitions = ['expand', 'crossfade']; hs.fadeInOut = true; hs.dimmingOpacity = 0.8; hs.wrapperClassName = 'wide-border'; hs.captionEval = 'this.a.title'; hs.marginLeft = 100; // make room for the thumbstrip hs.marginBottom = 80 // make room for the controls and the floating caption hs.numberPosition = 'caption'; hs.lang.number = '%1/%2'; hs.showCredits = false; // Add the slideshow providing the controlbar and the thumbstrip hs.addSlideshow({ interval: 5000, repeat: false, useControls: true, overlayOptions: { className: 'text-controls', position: 'bottom center', relativeTo: 'viewport', offsetX: 50, offsetY: -5 }, thumbstrip: { position: 'middle left', mode: 'horizontal', relativeTo: 'viewport' } }); // Add the simple close button hs.registerOverlay({ html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>', position: 'top right', fade: 2 // fading the semi-transparent overlay looks bad in IE }); // Load HighSlide var highSlideForSIGP = { init: function() { if(!document.getElementsByTagName) return false; if(!document.getElementById) return false; var a = document.getElementsByTagName("a"); for(var i=0; i<a.length; i++){ if(/highslide/.test(a[i].className) || /highslide/.test(a[i].getAttribute("class"))){ a[i].onclick = function(){ return hs.expand(this); return false; } } } }, ready: function(cb) { /in/.test(document.readyState) ? setTimeout('highSlideForSIGP.ready('+cb+')', 9) : cb(); } } highSlideForSIGP.ready(highSlideForSIGP.init); //]]> window.addEvent('load',function() { new YTMega( $('meganavigator'), { duration: 500, transition: Fx.Transitions.Circ.easeOut, slide: 1, wrapperClass: 'yt-main', activeSlider: 0, debug: false }); }); function keepAlive() { var myAjax = new Request({method: "get", url: "index.php"}).send();} window.addEvent("domready", function(){ keepAlive.periodical(840000); }); </script>]]>
777 <![CDATA[<script type="text/javascript"> <!-- /* <![CDATA[ */ window.addEvent('domready',function(){ featuredcontentslider.init({ id: "yttitleflash180", //id of main slider DIV contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"] toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc] nextprev: ["Previous", "Next"], //labels for "prev" and "next" links. Set to "" to hide. revealtype: "click", //Behavior of pagination links to reveal the slides: "click" or "mouseover" enablefade: [true, 0.1], //[true/false, fadedegree] autorotate: [true, 5000], //[true/false, pausetime] onChange: function(previndex, curindex){ //event handler fired whenever script changes slide //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc) //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc) } }); }); /* ]]> */ --> </script>]]>
823 <![CDATA[<script type="text/javascript"> jQuery.noConflict(); </script>]]>
1027 <![CDATA[<script type="text/javascript"> (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/en_US/all.js#appId=177111755694317&xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>]]>
1189 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ $('#btn').click( function(){ /* Quando clicar em #btn */ /* Coletando dados */ var nome = $('#nome').val(); var email = $('#email').val(); var msg = $('#msg').val(); /* Validando */ if(nome.length <= 3){ alert('Informe seu nome'); return false; } if(email.length <= 5){ alert('Informe seu email'); return false; } if(msg.length <= 5){ alert('Escreva uma mensagem'); return false; } /* construindo url */ var urlData = "&nome=" + nome + "&email=" + email + "&msg=" + msg ; /* Ajax */ $.ajax({ type: "POST", url: "http://www.portovitoria.pr.gov.br/includes/envia-email.php", /* endereço do script PHP */ async: true, data: urlData, /* informa Url */ success: function(data) { /* sucesso */ $('#retornoHTML').html(data); }, }); }); }); </script>]]>