Sites Pertecentes a (o) SP
Endereço | Nota | Erros | Avisos |
---|---|---|---|
www.setebarras.sp.gov.br/contaspublicas |
64.71 | 35 | 75 |
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 | 3 | 121 171 432 |
121 | <![CDATA[<script type="text/javascript"> jQuery(window).load(function(){ jQuery("#loopedSlider").loopedSlider({ autoStart: false, slidespeed: 1900, autoHeight: true }); }); </script>]]> |
171 | <![CDATA[<script type="text/javascript"> $(document).ready(function() { //Tooltips var tip = null; $(".tip_trigger").hover(function(){ //Caching the tooltip and removing it from container; then appending it to the body tip = $(this).find('.tip').remove(); $('body').append(tip); tip.show(); //Show tooltip }, function() { tip.hide().remove(); //Hide and remove tooltip appended to the body $(this).append(tip); //Return the tooltip to its original position }).mousemove(function(e) { //console.log(e.pageX) if ( tip == null ) return; var mousex = e.pageX + 20; //Get X coodrinates var mousey = e.pageY + 20; //Get Y coordinates var tipWidth = tip.width(); //Find width of tooltip var tipHeight = tip.height(); //Find height of tooltip //Distance of element from the right edge of viewport var tipVisX = $(window).width() - (mousex + tipWidth); var tipVisY = $(window).height() - (mousey + tipHeight); if ( tipVisX < 20 ) { //If tooltip exceeds the X coordinate of viewport mousex = e.pageX - tipWidth - 20; $(this).find('.tip').css({ top: mousey, left: mousex }); } if ( tipVisY < 20 ) { //If tooltip exceeds the Y coordinate of viewport mousey = e.pageY - tipHeight - 20; tip.css({ top: mousey, left: mousex }); } else { tip.css({ top: mousey, left: mousex }); } }); }); </script>]]> |
432 | <![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-71343386-1', 'auto'); ga('send', 'pageview'); </script>]]> |