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

Sites Pertecentes a (o) MA

Endereço Nota Erros Avisos

www.detran.ma.gov.br/paginas/noticias

80.17 109 610
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 19 278 699 785 947
19 <![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', 'https://www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-72592299-1', 'auto'); ga('send', 'pageview'); </script>]]>
278 <![CDATA[<script type = "text/javascript" > $("#mostrarComunicadosAnteriores").click(function () { $("#comunicadosAnteriores").css("visibility", "visible"); $("#sombraComunicado").css("visibility", "visible"); }); $("#fecharComunicadosAnteriores").click(function () { $("#comunicadosAnteriores").css("visibility", "hidden"); $("#sombraComunicado").css("visibility", "hidden"); }); $("#sombraComunicado").click(function () { $("#comunicadosAnteriores").css("visibility", "hidden"); $("#sombraComunicado").css("visibility", "hidden"); }); </script>]]>
699 <![CDATA[<script> $(document).ready(function () { $.ajax({ url: '/eventos/carregareventos', type: 'POST', dataType: 'json', async: false, cache: false, contentType: "application/json; charset=utf-8", success: function (response) { var jsons = new Array(); $(response).each(function (index, i) { jsons.push({ "date": i.DATA + " " + i.HORA, "type": "meeting", "title": i.TITULO, "url": i.URL }); }) $("#eventCalendarInline").eventCalendar({ jsonData: jsons, jsonDateFormat: 'human' // 'YYYY-MM-DD HH:MM:SS' }); }, error: function (response) { alert('Error'); } }); }); </script>]]>
785 <![CDATA[<script> $("#drpFormularios").change(function () { this.form.submit(); }); </script>]]>
947 <![CDATA[<script type="text/javascript"> (function () { // setup your carousels as you normally would using JS // or via data attributes according to the documentation // http://getbootstrap.com/javascript/#carousel $('#carouselivo').carousel({ interval: 2000 }); }()); (function () { $('.carousel-showmanymoveone .item').each(function () { var itemToClone = $(this); for (var i = 1; i < 4; i++) { itemToClone = itemToClone.next(); // wrap around if at end of item collection if (!itemToClone.length) { itemToClone = $(this).siblings(':first'); } // grab item, clone, add marker class, add to collection itemToClone.children(':first-child').clone() .addClass("cloneditem-" + (i)) .appendTo($(this)); } }); }()); $(document).ready(function () { $(window).resize(function () { var width = $(window).width(); if (width > 990) { $('#myCarousel_Noticias').removeClass('fade').addClass('slide'); } else { $('#myCarousel_Noticias').removeClass('slide').addClass('fade'); } }) .resize(); function toggleChevron(e) { $(e.target) .prev('.accordion-heading') .find("i.icon-white") .toggleClass('icon-circle-arrow-down'); } $('#MenuAccordion').on('hidden.bs.collapse', toggleChevron); $('#MenuAccordion').on('shown.bs.collapse', toggleChevron); $('#CarouselAcessoRapido').carousel({ interval: 0 }); $('#CarouselVeiculos').carousel({ interval: 0 }); $('#CarouselHabilitacao').carousel({ interval: 0 }); $('#myCarousel_Banner').carousel({ interval: 8000 }); $('#myCarousel_Banner .carousel-control.right').trigger('click'); $('#myCarousel_Noticias').carousel({ interval: 5000 }); //Controle de tabs do bootstrap function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } var tab = getParameterByName('tab'); switch (tab) { case "2": $("#tabVeiculos").tab("show"); break; case "3": $("#tabHabilitacao").tab("show"); break; case "4": $("#tabInfracao").tab("show"); break; default: $("#tab1").tab("show"); } }); //FIM Controle de tabs do bootstrap $('.newsticker').newsTicker({ row_height: 186, max_rows: 1, speed: 600, direction: 'down', duration: 5000, autostart: 1, pauseOnHover: 0, prevButton: $('#nt-example1-prev'), nextButton: $('#nt-example1-next') }); $('.dropdown').hover( function () { $(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(); }, function () { $(this).find('.dropdown-menu').stop(true, true).delay(300).fadeOut(); } ); $('.dropdown-menu').hover( function () { $(this).stop(true, true); }, function () { $(this).stop(true, true).delay(200).fadeOut(); } ); </script>]]>