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

Sites Pertecentes a (o) SC

Endereço Nota Erros Avisos

www.urussanga.sc.gov.br/turismo/index.html

62.39 45 326
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 14 16 39 65 73 131 166 212 301 336 407 543 547 555 578
16 <![CDATA[<script type="text/javascript"> const __URL__ = "//turismo.urussanga.sc.gov.br/"; const __URL_DETALHE__ = "//turismo.urussanga.sc.gov.br/equipamento/index/codEquipamento/"; const __PARAM__ = ""; const __PARAM_REGIAO__ = ""; var isGuiaSC = false; </script>]]>
39 <![CDATA[<script type="text/javascript"> var contraste = 'ativar'; const __URL__ = "//turismo.urussanga.sc.gov.br/"; const url = __URL__ + "zbox/contraste/index/"; $("#pluginContrasteIsAtivo").click(function(){ let dataPost = { contraste: contraste, }; let xhr = $.ajax({ url: url, method: "POST", data: dataPost, dataType: "json" }); xhr.complete(function () { location.reload(); }); }); </script>]]>
65 <![CDATA[<script type='text/javascript'> function googleTranslateElementInit() { new google.translate.TranslateElement( {pageLanguage: 'pt', includedLanguages: 'en,es,fr,de,it'} , 'google_translate_element'); } </script>]]>
73 <![CDATA[<script type="text/javascript"> $(document).ready(function(){ if($('#main-header').css('position') == 'fixed') { $('body').bind('DOMNodeInserted DOMNodeRemoved', function() { var divTranslate = $(this).find('.skiptranslate'); var frameTranslate = $(this).find('iframe.skiptranslate'); console.log('INSERT REMOVE'); if(divTranslate.length > 0) { console.log('TEM'); if($(divTranslate).css('display') == 'none') { $('#main-header').css('top', 0); } else { $('#main-header').css('top', $(frameTranslate).height()); } } }); } $('body').trigger('contentchanged'); $("#go-to-busca").click(function(evt){ evt.preventDefault(); evt.stopPropagation(); $("body,html").scrollTop(80); $("#main-busca-field").focus(); }); }); </script>]]>
131 <![CDATA[<script> function toogleMenuMobile() { var x = document.getElementById("myTopnav"); if (x.className === "topnav") { x.className += " responsive"; $("#main-header").addClass('responsivo'); } else { x.className = "topnav"; $("#main-header").removeClass('responsivo'); } } </script>]]>
166 <![CDATA[<script type="text/javascript"> $(document).ready(function(){ var timeoutMenu = null; function moveMenu(obj=false){ var offsetMenu = $("nav.main-menu").offset().left; if (!obj) { obj = $("nav.main-menu li.active"); } if (obj.size() > 0) { var left = obj.offset().left - offsetMenu - 3; var width = parseInt(obj.outerWidth()) + 7; $("nav.main-menu .over").css({"left":left,"width":width}); } else { var width = 0; $("nav.main-menu .over").css({"width":width}); } } $("nav.main-menu li ").mouseenter(function(){ window.clearTimeout(timeoutMenu); moveMenu($(this)); }); $("nav.main-menu li").mouseleave(function(){ timeoutMenu = window.setTimeout(function(){ moveMenu(); },300); }); window.setTimeout(function(){ moveMenu(); },500); window.setTimeout(function(){ moveMenu(); },1000); }); </script>]]>
212 <![CDATA[<script> var __URL_PREVISAO_TEMPO__ = "https://www.fecam.org.br/tempo.php?codPrevisao=5570"; </script>]]>
301 <![CDATA[<script type="text/javascript"> var coresMapa = null; var linksMapa = {}; $(function(){ var map = $('#mapaSc').vectorMap({ map: 'mapa-svg', backgroundColor: '#F1F1F1', onRegionLabelShow: function(event, label, code){ label.html(label.html()); }, onRegionClick:function (event, code){ if(linksMapa[code]) { $('#busca').val(linksMapa[code]); buscaCamara(); } }, series: { regions: [{ scale: {"verde":"#045783"}, attribute: 'fill', normalizeFunction: 'polynomial', values: coresMapa , }], }, }); }); </script>]]>
336 <![CDATA[<script type="text/javascript"> var coresMapa = null; var linksMapa = {}; $(function(){ var map = $('#mapaSc2').vectorMap({ map: 'mapa-svg', backgroundColor: '#F1F1F1', onRegionLabelShow: function(event, label, code){ label.html(label.html()); }, onRegionClick:function (event, code){ if(linksMapa[code]) { $('#busca').val(linksMapa[code]); buscaCamara(); } }, series: { regions: [{ scale: {"verde":"#045783"}, attribute: 'fill', normalizeFunction: 'polynomial', values: coresMapa , }], }, }); }); </script>]]>
407 <![CDATA[<script> $(document).ready(function(){ var cidade = "urussanga"; var offsetPinLeft = parseInt($(".mapa-holder .pin").offset().left) + 3; var offsetPinTop = parseInt($(".mapa-holder .pin").offset().top) + 20; var offsetLeft = $("[data-code='"+cidade+"']").first().offset().left; var offsetTop = $("[data-code='"+cidade+"']").first().offset().top; var width = parseInt($("[data-code='"+cidade+"']").width()); var height = parseInt($("[data-code='"+cidade+"']").height()); $(".mapa-holder .pin").css({ top: (offsetTop - offsetPinTop + (height / 2))+"px", left: (offsetLeft - offsetPinLeft + (width / 2))+"px" }); $(".descricao-cidade, .mapa-sc,.como-chegar,.guia-servicos").equalheights(); }); </script>]]>
543 <![CDATA[<script type="text/javascript"> //<![CDATA[ PUBLIC_CDN_URL = 'https://cdn.fecam.net.br' //]]> </script>]]>
547 <![CDATA[<script type="text/javascript"> $(document).ready(function(){ if ($(".cover").size()) { $("#main-header").addClass("fixed"); } }); </script>]]>
555 <![CDATA[<script> $(document).ready(function() { var offset = $('.top-anchor').offset().top;//; var duration = 300; $(window).scroll(function() { if ($(this).scrollTop() > offset) { $('#voltar-topo').fadeIn(duration); } else { $('#voltar-topo').fadeOut(duration); } }); $('#voltar-topo').click(function(event) { event.preventDefault(); $('html, body').animate({scrollTop: 0}, duration); return false; }) }); </script>]]>
578 <![CDATA[<script type='text/javascript'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-18166348-19']); _gaq.push(['_trackPageview'], '/'); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); jQuery(document).ajaxComplete(function(e, xhr, settings){ _gaq.push(['_trackPageview', settings.url]); }); </script>]]>