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

Sites Pertecentes a (o) MG

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 48 58 552
48 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"9e0001d84e2a44ed51831141b639d244","system.paths":{"root":"","base":""},"data":{"breakpoints":{"tablet":991,"mobile":480},"header":{"stickyOffset":"100"}}}</script>]]>
58 <![CDATA[<script type="text/javascript"> jQuery(window).on('load', function() { new JCaption('img.caption'); }); template="wt_minima_free"; </script>]]>
552 <![CDATA[<script> jQuerOs(window).on('load',function($) { from_history = false; jQuerOs('#os_progres_img-2_851744666:last' ).attr('class', ""); galId_random = '2_851744666'; var gallery = new osGallery(".os-gallery-tabs-main-2_851744666",{ minImgEnable : 1, spaceBetween: 2.5, minImgSize: 200, numColumns: 3, showImgTitle: '1', showImgDescription: '1', limEnd: '5', galId: '2', galIdRandom: '2_851744666', imgCountCat: '{"2":"11"}', load_more_background: '#12BBC5', os_fancybox_background: 'rgba(0, 0, 0, 0.75)', showLoadMore: '0', juri: 'http://camarainconfidentes.mg.gov.br/', itemId: '142', layout: 'default', thumbWidth: 600, thumbHeight: 400, fancSettings:{ wrapCSS: 'os-os_fancybox-window', animationEffect : "fade", animationDuration : "500", transitionEffect : "fade", transitionDuration : "500", loop: 1, arrows: 1, clickContent: "zoom", wheel: 1, slideShow : { autoStart : false, speed : 3000 }, clickSlide : "close", thumbs : { autoStart : true, axis : 'y' }, buttons : { 'slideShow': 'slideShow', 'fullScreen': 'fullScreen', 'thumbs': 'thumbs', 'share': '', 'download': 'download', 'zoom': 'zoom', 'arrowLeft': 'arrowLeft', 'arrowRight': 'arrowRight', 'close': 'close' }, share : { tpl : '<div class="os_fancybox-share"><div class="container"><h1>{{SHARE}}</h1><p class="os_fancybox-share__links"></p></div></div>' }, infobar : 1, baseClass : 'thumb_right' } }); // jQuerOs(".tab-click-loadMore").click(function(){ // gallery.loadMore("0"); // }) // // // gallery.loadMore("0"); // add social sharing script var href = window.location.href; var img_el_id = ''; var pos1 = href.indexOf('os_image_id'); var pos2 = href.lastIndexOf('#'); var os_show_load_more = "0"; if (pos1 > -1 && pos2 > - 1) { img_el_id = href.substring(pos1, pos2); }else if(pos1 > -1 && pos2 == -1){ img_el_id = href.substring(pos1); } os_fancy_box_getInst = jQuerOs.os_fancybox.getInstance(); if(!os_fancy_box_getInst){ if(img_el_id && img_el_id.indexOf('os_image_id') > -1) { if(document.getElementById(img_el_id) == null){ if (os_show_load_more == 'auto'){ gallery.loadMore("auto"); } else if (os_show_load_more !== null){ } else if (os_show_load_more !== null){ gallery.loadMore("button"); jQuerOs('#load-more-2_851744666').trigger('click'); } } else { jQuerOs('#' + img_el_id).trigger('click'); } } } // var position_gallery = href.indexOf('cat'); // var gallery_cat_id = ''; // var gallery_cat_id = href.substring(position_gallery); // if(gallery_cat_id.indexOf('&') > -1){ // gallery_cat_id = gallery_cat_id.substr(0, gallery_cat_id.indexOf('&')); // } // // if(gallery_cat_id && gallery_cat_id.indexOf('cat-') > -1 && gallery_cat_id.indexOf('=') == -1){ // // jQuerOs('#' + gallery_cat_id + '2_851744666').trigger('click'); // } window.onpopstate = function(event) { //alert("location: " + document.location + ", state: " + JSON.stringify(event.state)); from_history = true; var href = window.location.href; var img_el_id = ''; var pos1 = href.indexOf('os_image_id'); var pos2 = href.lastIndexOf('-'); os_fancy_box_getInst = jQuerOs.os_fancybox.getInstance(); if (!os_fancy_box_getInst && (pos1 > -1)){ if (pos1 > -1 && href.indexOf('#os_fancybox') > - 1) { pos2 = href.lastIndexOf('#os_fancybox') img_el_id = href.substring(pos1, pos2); }else if(pos1 > -1 && href.indexOf('#os_fancybox') == -1){ img_el_id = href.substring(pos1); } jQuerOs('#' + img_el_id).trigger('click'); } else if (pos1 > -1) { img_el_id = href.substring(pos1); var ordering_id = jQuerOs('#' + img_el_id).attr('data-index'); os_fancy_box_getInst.jumpTo(ordering_id); }else if(pos1 == -1 && href.indexOf('os_fancybox') == -1 && os_fancy_box_getInst){ os_fancy_box_getInst.close(); window.history.back(); } var cat_id = ''; if(href.indexOf('cat-') > -1 && href.indexOf('os_image_id') == -1){ cat_id = href.substring(href.indexOf('cat-')); jQuerOs('#' + cat_id + '2_851744666').trigger('click'); } from_history = false; }; // end sharing script }); </script>]]>