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

Sites Pertecentes a (o) SP

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

Recomendações

99 <![CDATA[<i class="fa fa-search btnlupa" style="font-size:20px;"></i>]]>
32 <![CDATA[<style> #sync1 img{ width:100%; padding: 0px 0px; margin: 0; color: #FFF; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-align: center; } #sync1 .item{ padding: 0px 0px; margin: 5px; color: #FFF; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-align: center; } #sync2 { margin-top:0px; } #sync2 .item{ padding: 0px 0px; margin: 5px; color: #FFF; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-align: center; cursor: pointer; } #sync2 img{ width:100%; border-radius:3px; } .owl-carousel { margin-top: 0px; } </style>]]>
18 <![CDATA[<script type="text/javascript"> $(function () { $('nav#menu').mmenu(); }); </script>]]>
234 <![CDATA[<script> $(document).ready(function () { var sync1 = $("#sync1"); var sync2 = $("#sync2"); sync1.owlCarousel({ singleItem: true, slideSpeed: 0, navigation: false, pagination: false, afterAction: syncPosition, responsiveRefreshRate: 200, animateOut: 'slideOutDown', animateIn: 'flipInX', items: 1, margin: 30, stagePadding: 30, smartSpeed: 450, }); sync2.owlCarousel({ items: 4, itemsDesktop: [1199, 10], itemsDesktopSmall: [979, 10], itemsTablet: [768, 8], itemsMobile: [479, 4], pagination: false, responsiveRefreshRate: 100, afterInit: function (el) { el.find(".owl-item").eq(0).addClass("synced"); } }); function syncPosition(el) { var current = this.currentItem; $("#sync2") .find(".owl-item") .removeClass("synced") .eq(current) .addClass("synced") if ($("#sync2").data("owlCarousel") !== undefined) { center(current) } } $("#sync2").on("click", ".owl-item", function (e) { e.preventDefault(); var number = $(this).data("owlItem"); sync1.trigger("owl.goTo", number); }); function center(number) { var sync2visible = sync2.data("owlCarousel").owl.visibleItems; var num = number; var found = false; for (var i in sync2visible) { if (num === sync2visible[i]) { var found = true; } } if (found === false) { if (num > sync2visible[sync2visible.length - 1]) { sync2.trigger("owl.goTo", num - sync2visible.length + 2) } else { if (num - 1 === -1) { num = 0; } sync2.trigger("owl.goTo", num); } } else if (num === sync2visible[sync2visible.length - 1]) { sync2.trigger("owl.goTo", sync2visible[1]) } else if (num === sync2visible[0]) { sync2.trigger("owl.goTo", num - 1) } } }); $(document).ready(function () { $(".fancybox").fancybox(); }); </script>]]>