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

Sites Pertecentes a (o) SC

Endereço Nota Erros Avisos

ipi.itajai.sc.gov.br/

66.69 44 43
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 29 154 478
29 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-118206521-1'); </script>]]>
154 <![CDATA[<script> function open_modal(id) { var maskHeight = $(document).height(); var maskWidth = $(window).width(); $('#mask').css({'width': maskWidth, 'height': maskHeight}); $('#mask').fadeIn(); $('#mask').fadeTo("fast"); //Get the window height and width var winH = $(window).height(); var winW = $(window).width(); $(id).css('top', winH / 2 - $(id).height() / 2); $(id).css('left', winW / 2 - $(id).width() / 2); $(id).fadeIn(1); } ; $(document).ready(function () { $('a[name=modal]').click(function (e) { e.preventDefault(); open_modal($(this).attr('href')); }); open_modal('#dialog'); //abrindo o div#modal ao carregar a página $('.window .close').click(function (e) { e.preventDefault(); $('#mask').hide(); $('.window').hide(); }); $('#mask').click(function () { $(this).hide(); $('.window').hide(); }); }); // When the user clicks the button, open the modal $(document).ready(function () { modal.style.display = "block"; }); // Get the modal var modal = document.getElementById('myModal'); // Get the button that opens the modal var btn = document.getElementById("myBtn"); // Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0]; // When the user clicks on <span> (x), close the modal span.onclick = function () { modal.style.display = "none"; }; modal.onclick = function () { modal.style.display = "none"; }; $(document).keydown(function (e) { if (e.keyCode === 27) // esc pressed { modal.style.display = "none"; } }); </script>]]>
478 <![CDATA[<script type="text/javascript"> var slider = new MasterSlider(); slider.setup('masterslider' , { width:1440, // slider standard width height:450, // slider standard height space:1, loop:false, preload:0, autoplay:true, speed: 7 }); slider.control('bullets', { autohide: false, hideUnder: false, dir: 'v', align: 'right' }); </script>]]>