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

Sites Pertecentes a (o) BA

Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 2 206 449
1.1.4 Presença de CSS(s) interno 1 37
1.1.5 Presença de javascript(s) in-line 1 149
1.1.6 Presença de javascript(s) interno 8 7 40 60 80 454 629 640 655
206 <![CDATA[<img src="http://www.cultura.salvador.ba.gov.br/templates/fgm/images/fundacao_gregorio_de_matos.png" class="logo" id="logo_casacivil" style="margin-top: 7%;">]]>
449 <![CDATA[<iframe style="width:100%; height:217px; border:0;" scrolling="no" src="http://www.salvador.ba.gov.br/Rodape/rodape.html" frameborder="0"></iframe>]]>
37 <![CDATA[<style type="text/css"> div.mod_search129 input[type="search"]{ width:auto; } </style>]]>
149 <![CDATA[<input type="image" alt="Pesquisa" class="button" src="/templates/fgm/images/searchButton.gif" onclick="this.form.searchword.focus();"/>]]>
7 <![CDATA[<script type="text/javascript"> var big = '72%'; var small = '53%'; var bildauf = '/templates/fgm/images/plus.png'; var bildzu = '/templates/fgm/images/minus.png'; var rightopen = 'TPL_BEEZ3_TEXTRIGHTOPEN'; var rightclose = 'TPL_BEEZ3_TEXTRIGHTCLOSE'; var altopen = 'TPL_BEEZ3_ALTOPEN'; var altclose = 'TPL_BEEZ3_ALTCLOSE'; </script>]]>
40 <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"6858c396812887005cfffe04db1032fa","system.paths":{"root":"","base":""},"joomla.jtext":{"TPL_BEEZ3_ALTOPEN":"TPL_BEEZ3_ALTOPEN","TPL_BEEZ3_ALTCLOSE":"TPL_BEEZ3_ALTCLOSE","TPL_BEEZ3_TEXTRIGHTOPEN":"TPL_BEEZ3_TEXTRIGHTOPEN","TPL_BEEZ3_TEXTRIGHTCLOSE":"TPL_BEEZ3_TEXTRIGHTCLOSE","TPL_BEEZ3_FONTSIZE":"TPL_BEEZ3_FONTSIZE","TPL_BEEZ3_BIGGER":"TPL_BEEZ3_BIGGER","TPL_BEEZ3_RESET":"TPL_BEEZ3_RESET","TPL_BEEZ3_SMALLER":"TPL_BEEZ3_SMALLER","TPL_BEEZ3_INCREASE_SIZE":"TPL_BEEZ3_INCREASE_SIZE","TPL_BEEZ3_REVERT_STYLES_TO_DEFAULT":"TPL_BEEZ3_REVERT_STYLES_TO_DEFAULT","TPL_BEEZ3_DECREASE_SIZE":"TPL_BEEZ3_DECREASE_SIZE","TPL_BEEZ3_OPENMENU":"TPL_BEEZ3_OPENMENU","TPL_BEEZ3_CLOSEMENU":"TPL_BEEZ3_CLOSEMENU"}}</script>]]>
60 <![CDATA[<script type="text/javascript"> jQuery(window).on('load', function() { new JCaption('img.caption'); }); jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} }); </script>]]>
80 <![CDATA[<script> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = 'https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v3.0&appId=728373417276676&autoLogAppEvents=1'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>]]>
454 <![CDATA[<script type="text/javascript"> $('.multi-item-carousel .item').each(function() { var next = $(this).next(); if (!next.length) next = $(this).siblings(':first'); next.children(':first-child').clone().appendTo($(this)); }); $('.multi-item-carousel .item').each(function() { var prev = $(this).prev(); if (!prev.length) prev = $(this).siblings(':last'); prev.children(':nth-last-child(2)').clone().prependTo($(this)); }); // $('#ca-container').contentcarousel(); // Agenda $(document).ready(function() { var $ = jQuery; $("#mesAgenda").change(function() { var opcao = $("#mesAgenda").val(); if (opcao == 0) return false; $.ajax({ cache: false, type: 'post', dataType: 'text', url: 'http://fgm.salvador.ba.gov.br/pagination.php', data: { opcao: opcao }, beforeSend: function() { }, success: function(data) { $('#ca-container').html(data); $('#ca-container').contentcarousel(); }, error: function() { alert('Falha na Paginacao'); } }); }); }); // document ready (function($) { "use strict"; $(document).ready(function() { window.sr = ScrollReveal(); // sr.reveal('.intro'); sr.reveal('.citacao-greg', { duration: 1000, delay: 500, reset: false, scale: 0 }); sr.reveal('h1:not(.h1), h2', { duration: 700, delay: 300, reset: false }); sr.reveal('.text-right', { duration: 700, delay: 300, reset: false }); sr.reveal('.logo', { duration: 800, // delay: 200, reset: false, // scale: 1500, origin: 'left' }); sr.reveal('.top .row div:last-child', { duration: 600, delay: 200, reset: false, // scale: 1500, origin: 'right' }); sr.reveal('.intro h1', { duration: 0, delay: 0, reset: false }); sr.reveal('.porque-participar p', { duration: 700, delay: 600, reset: false, origin: 'bottom' }); sr.reveal('.porque-participar button', { duration: 700, delay: 800, reset: false }); sr.reveal('.como-participar .row > div', { duration: 900, delay: 700, reset: false }); sr.reveal('.noticias .azul', { duration: 1200, delay: 400, reset: false, scale: 0 }); sr.reveal('.noticias .vermelho', { duration: 1200, delay: 550, reset: false, scale: 0 }); sr.reveal('.noticias .verdec', { duration: 1200, delay: 650, reset: false, scale: 0 }); sr.reveal('.noticias .laranja', { duration: 1200, delay: 750, reset: false, scale: 0 }); sr.reveal('.logos img', { duration: 800, delay: 900, reset: false, scale: 2.5 }); $(window).scroll(function() { $('.img-parallax').each(function() { if ($(this).offset().top < $(window).scrollTop()) { var difference = $(window).scrollTop() - $(this).offset().top; var half = (difference / 2) * 1.5 + 'px'; $(this).css('top', half); } else { $(this).css('top', '0'); } }); }); }); })(jQuery); </script>]]>
629 <![CDATA[<script type="text/javascript"> jQuery.browser = {}; (function() { jQuery.browser.msie = false; jQuery.browser.version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { jQuery.browser.msie = true; jQuery.browser.version = RegExp.$1; } })(); </script>]]>
640 <![CDATA[<script> function getResolution() { return window.screen.width; } if(getResolution() > 900){ document.getElementById('menu-mobile').innerHTML = ''; } else{ document.getElementById('menu-web').innerHTML = ''; } </script>]]>
655 <![CDATA[<script> $("#menu_topo").css('background-color','#062959'); //$("#menu_topo").css('visibility','hidden'); //$("#menu_topo").attr('class','banner2'); (function($) { $.fn.menumaker = function(options) { var cssmenu = $(this), settings = $.extend({ format: "dropdown", sticky: false }, options); return this.each(function() { $(this).find(".button").on('click', function(){ $(this).toggleClass('menu-opened'); var mainmenu = $(this).next('ul'); if (mainmenu.hasClass('open')) { mainmenu.slideToggle().removeClass('open'); } else { mainmenu.slideToggle().addClass('open'); if (settings.format === "dropdown") { mainmenu.find('ul').show(); } } }); cssmenu.find('li ul').parent().addClass('has-sub'); multiTg = function() { cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>'); cssmenu.find('.submenu-button').on('click', function() { $(this).toggleClass('submenu-opened'); if ($(this).siblings('ul').hasClass('open')) { $(this).siblings('ul').removeClass('open').slideToggle(); } else { $(this).siblings('ul').addClass('open').slideToggle(); } }); }; if (settings.format === 'multitoggle') multiTg(); else cssmenu.addClass('dropdown'); if (settings.sticky === true) cssmenu.css('position', 'fixed'); resizeFix = function() { var mediasize = 700; if ($( window ).width() > mediasize) { cssmenu.find('ul').show(); } if ($(window).width() <= mediasize) { cssmenu.find('ul').hide().removeClass('open'); } }; resizeFix(); return $(window).on('resize', resizeFix); }); }; })(jQuery); (function($){ $(document).ready(function(){ $("#cssmenu").menumaker({ format: "multitoggle" }); }); })(jQuery); </script>]]>