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

Sites Verificados

Lista com todos os sítios que foram verificados pela TIC Web Acessibilidade. Dentro de cada domínio, há informações detalhadas sobre as páginas coletadas, bem como os erros e avisos de cada uma *.

Endereço Nota Erros Avisos

www.unasus.gov.br/noticias

83.55 110 2.478
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 21 70 81 86 87 93 95 96 98 102 103 105 109 110 114 197 432 433 434 510 567 648
1.1.4 Presença de CSS(s) interno 2 247 439
1.1.5 Presença de javascript(s) in-line 1 432
1.1.6 Presença de javascript(s) interno 4 660 710 790 806
1.1.8 Não foram respeitados os Padrões Web CSS 2416 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
70 <![CDATA[<a id="UNASUSTemplate_sidebar" class="ui item mobile only inverted large bars icon" style="height: 57px; width:50px;"> <i class="inverted large bars icon"></i> </a>]]>
81 <![CDATA[<a id="menu_d" class="ui item mobile hidden" style="height:100%; border-radius: none !important;" href="/suporte/"> <i class="white large question circle outline icon"></i> <strong>Suporte</strong> </a>]]>
86 <![CDATA[<a class="ui item mobile only UNASUSTemplate_login_button inverted large sign in alternate icon" style="height: 57px; width:50px;" href="/autenticacao/login" title="Entrar"><i class="inverted large sign in alternate icon"></i></a>]]>
87 <![CDATA[<a class="ui item mobile hidden UNASUSTemplate_login_button" style="height: 57px;" href="/autenticacao/login" title="Entrar"><i class="inverted large sign in alternate icon"></i><strong>Entrar</strong></a>]]>
93 <![CDATA[<div class="ui top fixed menu mobile hidden" id="UNASUSTemplate_menu_bar" style="width: 100%; height: 23px; background-color: rgb(112, 201, 231); z-index: 100; border: none !important;"> <div class="ui grid container centered"> <div style="width: calc(33% - 23px); background-color: rgb(0, 164, 210); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;" class="column2"> <a href="/institucional" style="color:white;cursor:pointer"><strong>INSTITUCIONAL</strong></a> </div> <div style="width: 23px; border-top: 23px solid rgb(0, 164, 210); border-right: 23px solid rgb(32, 186, 223); float: left; height: 23px;" class="column3"> <p></p> <p></p> </div> <div class="column2" style="background-color: rgb(32, 186, 223); width: calc(34% - 23px); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;"> <a href="/numeros" style="color:white;cursor:pointer"><strong>UNA-SUS EM NÚMEROS</strong></a> </div> <div style="width: 23px; border-top: 23px solid rgb(32, 186, 223); border-right: 23px solid rgb(112, 201, 231); float: left; height: 23px;" class="column3"> <p></p> <p></p> </div> <div class="column2" style="width: calc(33% - 23px); background-color: rgb(112, 201, 231); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;"> <a href="/contato" style="color:white;cursor:pointer"><strong>CONTATO</strong></a> </div> </div> </div>]]>
95 <![CDATA[<div style="width: calc(33% - 23px); background-color: rgb(0, 164, 210); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;" class="column2"> <a href="/institucional" style="color:white;cursor:pointer"><strong>INSTITUCIONAL</strong></a> </div>]]>
96 <![CDATA[<a href="/institucional" style="color:white;cursor:pointer"><strong>INSTITUCIONAL</strong></a>]]>
98 <![CDATA[<div style="width: 23px; border-top: 23px solid rgb(0, 164, 210); border-right: 23px solid rgb(32, 186, 223); float: left; height: 23px;" class="column3"> <p></p> <p></p> </div>]]>
102 <![CDATA[<div class="column2" style="background-color: rgb(32, 186, 223); width: calc(34% - 23px); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;"> <a href="/numeros" style="color:white;cursor:pointer"><strong>UNA-SUS EM NÚMEROS</strong></a> </div>]]>
103 <![CDATA[<a href="/numeros" style="color:white;cursor:pointer"><strong>UNA-SUS EM NÚMEROS</strong></a>]]>
105 <![CDATA[<div style="width: 23px; border-top: 23px solid rgb(32, 186, 223); border-right: 23px solid rgb(112, 201, 231); float: left; height: 23px;" class="column3"> <p></p> <p></p> </div>]]>
109 <![CDATA[<div class="column2" style="width: calc(33% - 23px); background-color: rgb(112, 201, 231); float: left; height: 23px; color: white; padding-left: 10px; padding-top:2px;"> <a href="/contato" style="color:white;cursor:pointer"><strong>CONTATO</strong></a> </div>]]>
110 <![CDATA[<a href="/contato" style="color:white;cursor:pointer"><strong>CONTATO</strong></a>]]>
114 <![CDATA[<div id="UNASUSTemplate_blue_bar2" class="ui top fixed menu mobile hidden" style="z-index: 100;"> </div>]]>
197 <![CDATA[<div class="menu_superior_flutuante" style="width:100%; background-color: rgba(16, 100, 176, 1); text-align: left; padding-top:90px; padding-bottom:10px;"> <div class="ui container"> <div class="ui stackable inverted divided equal height stackable grid"> <div class="four wide column"> <div class="ui inverted link list"> <a href="/admin/noticias" class="item">Notícias</a> <a href="/admin/banners" class="item">Banners</a> <!-- <a href="" class="item">Especiais</a> <a href="" class="item">Instituições</a> --> </div> </div> <!-- <div class="four wide column"> <div class="ui inverted link list"> <a href="" class="item">Instalações Moodle</a> <a href="" class="item">Aplicações móveis</a> </div> </div> <div class="four wide column"> <div class="ui inverted link list"> </div> </div> <div class="four wide column"> <div class="ui inverted link list"> </div> </div> --> </div> </div> </div>]]>
432 <![CDATA[<img id="cursos_logo" class="ui logo" src="/images/unasus.svg" style="cursor: pointer;" onclick="location.href='/';">]]>
433 <![CDATA[<span style="text-align: center;display: block;font-size: 14px; padding-top: 5px;">UNA-SUS</span>]]>
434 <![CDATA[<span style="text-align: center;display: block;font-size: 24px; padding-bottom: 20px;">NOTÍCIAS</span>]]>
510 <![CDATA[<i id="button_search" data-proximo="0" class="circular search link blue inverted icon" style="margin:-8px -10px 0px 0px"></i>]]>
567 <![CDATA[<a href="#top" style="display: none;"><i class="ui icon blue angle double up"></i></a>]]>
648 <![CDATA[<div class="ui grid container centered" style="padding:0px; margin:0px;"> <footer id="UNASUSTemplate_footer"> </footer> </div>]]>
247 <![CDATA[<style TYPE="text/css"> body, #conteudo { background-color: #FFFFFF; font-weight: normal; } #conteudo { float: left; color:black; margin: 0; padding: 0; border: none; min-height: calc(100vh - 200px); width: 945px; } #menu_lateral { color:white; background-color: rgb(0, 164, 210); width: 210px; } .ui.vertical.menu { width: 100%; } .ui.vertical.text.menu .item { padding-left: 1em; padding-right: 1em; } .menu_2 { position: relative; width: 210px; } #oferta { width: calc(100% - 20px); left: 10px; top: 10px; } #detalhes { margin: 0; margin-top: 10px; margin-bottom: -10px; } .item a.header { color: #1a531b !important; } .ui.mini.statistic > .value { color: #1a531b !important; } .ui.mini.statistic > .label { color: teal !important; } .ui.loading.selection.dropdown > i.icon { padding: 1em 1em !important; } @media only screen and (max-width: 768px) { .ui.container { margin-left: 0px !important; margin-right: 0px !important; } #detalhes { padding-left: 10px; } .ui.container.items { padding-left: 15px !important; padding-right: 0px !important; } a[href="#top"]{ right: 0px !important; } } @media only screen and (min-width: 768px) and (max-width: 991px) { #conteudo { width: 586px; } #menu_lateral, .menu_2 { width: 165px; } } @media only screen and (min-width: 992px) and (max-width: 1199px) { #conteudo { width: 751px; } #menu_lateral, .menu_2 { width: 210px; } } .sizer { font-size: 1.3em; } .barra { background-color: rgba(255, 255, 255, 0.3); height: 30px; width: 100%; text-align: center; } #titulo { padding:0px; margin:0px; } #titulo .column { background-color: rgba(255, 255, 255, 0.3); color:#2EA1A1; padding:0px; margin:0px; } #titulo h2, #resultado_resumo3 { padding-left: 20px; height: 30px; } #cursos_logo { display: block; margin: auto; width: 60px; padding-top: 30px; text-align: center; } .ui.container.items { padding-left: 25px; padding-right: 15px; } #resultado_resumo3 { padding-bottom: 15px; } a[href="#top"]{ padding:10px; position:fixed; top: 90%; right:40px; display:none; font-size: 50px; } a[href="#top"]:hover{ text-decoration:none; } .meta i { color:grey; font-weight: normal; } .meta span { color:grey; font-weight: normal; } i.inverted.circular.blue.icon { background-color: rgb(0, 164, 210) !important; color: white !important; } </style>]]>
439 <![CDATA[<style> .ui.card { -webkit-transform: translateY(0px ) !important; transform: translateY(0px) !important; } .reset-a, .reset-a:hover, .reset-a:visited, .reset-a:focus, .reset-a:active { text-decoration: none; color: inherit; outline: 0; cursor: auto; } .noticias > .card { box-shadow:none !important; padding-left: 0px !important; padding-right: 0px !important; } .noticias > .card > .tag { border-left: 7px solid #0064b4; width: 100%; background-color: rgb(0, 164, 210); color:white; padding-left: 10px; border-radius: 0px !important; font-weight: bold; font-size: 1.2em; padding:5px; } .noticias > .card > .corpo { width: 100%; background-color: white; color: black; padding: 0px; border-radius: 0px !important; margin: 0px; height:100%; } .noticias > .card > .corpo > .titulo { font-weight: bold; min-height: 3em; display: inline-flex; padding-bottom: 4px; } .noticias > .card > .corpo > .resumo { font-size: 0.9em; min-height: 125px; font-weight: normal; } @media only screen and (max-width: 767px) { .ui.stackable.cards > .card { width: calc(100% - 15px) !important; } .noticias > .card > .corpo > .titulo { min-height: 0px !important; padding-bottom: 5px !important; } } </style>]]>
432 <![CDATA[<img id="cursos_logo" class="ui logo" src="/images/unasus.svg" style="cursor: pointer;" onclick="location.href='/';">]]>
660 <![CDATA[<script> $('#UNASUSTemplate_menu').sidebar({ transition: 'push', onVisible: function () { $('#UNASUSTemplate_sidebar i').removeClass("sidebar"); $('#UNASUSTemplate_menu_right3').sidebar('hide'); }, onShow: function () { $('#UNASUSTemplate_sidebar i').addClass("arrow left"); }, onHide: function () { $('#UNASUSTemplate_sidebar i').removeClass("arrow left"); }, onHidden: function () { $('#UNASUSTemplate_sidebar i').addClass("sidebar"); }, }).sidebar('attach events', '#UNASUSTemplate_sidebar'); $('.coupled.modal').modal({ observeChanges: true, allowMultiple: true, }); function mostra_termo_de_uso() { $('#UNASUSTemplate_termo_de_uso_modal').modal('show'); } ; $('#UNASUSTemplate_termo_de_uso_modal').modal({ onShow: function () { $("#UNASUSTemplate_termo_de_uso").load("https://acesso.unasus.gov.br/acesso/pub/termosDeUso/view"); } }); $('#UNASUSTemplate_body') .visibility({ once: false, onTopPassed: function (calculations) { }, onTopPassedReverse: function (calculations) { } }) ; </script>]]>
710 <![CDATA[<script> var _paq = _paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['setUserId', '']); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); _paq.push(['trackVisibleContentImpressions']); (function () { var u = "https://www.unasus.gov.br/statistics"; _paq.push(['setTrackerUrl', u + '/matomo.php']); _paq.push(['setSiteId', '1']); var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0]; g.type = 'text/javascript'; g.async = true; g.defer = true; g.src = 'https://www.unasus.gov.br/statistics/matomo.js'; s.parentNode.insertBefore(g, s); })(); $('#menu_edicao') .dropdown() ; $('#UNASUSTemplate_menu_right').sidebar({ transition: 'overlay', dimPage: false, onVisible: function () { $('#menu_administracao').attr('style', 'height: 100%; color: white !important; background: rgba(16, 100, 176, 1); border-radius: 0;'); $('#UNASUSTemplate_menu_right2').sidebar('hide'); $('#UNASUSTemplate_menu_right3').sidebar('hide'); }, onShow: function () { }, onHide: function () { $('#menu_administracao').attr('style', 'height: 100%;'); }, onHidden: function () { }, }).sidebar('attach events', '#menu_administracao'); $('#UNASUSTemplate_menu_right2').sidebar({ transition: 'overlay', dimPage: false, onVisible: function () { $('#menu_servicos').attr('style', 'height: 100%; color: white !important; background: rgba(16, 100, 176, 1); border-radius: 0;'); $('#UNASUSTemplate_menu_right').sidebar('hide'); $('#UNASUSTemplate_menu_right3').sidebar('hide'); }, onShow: function () { }, onHide: function () { $('#menu_servicos').attr('style', 'height: 100%;'); }, onHidden: function () { }, }).sidebar('attach events', '#menu_servicos'); $('#UNASUSTemplate_menu_right3').sidebar({ transition: 'overlay', dimPage: true, onVisible: function () { $('#menu_usuario').attr('style', 'height: 57px; width:57px; padding-left:10px !important; color: white !important; background: rgba(16, 100, 176, 1); border-radius: 0;'); $('#UNASUSTemplate_menu').sidebar('hide'); $('#UNASUSTemplate_menu_right').sidebar('hide'); $('#UNASUSTemplate_menu_right2').sidebar('hide'); }, onShow: function () { }, onHide: function () { $('#menu_usuario').attr('style', 'height: 57px; width:57px; padding-left:10px !important;'); }, onHidden: function () { }, }).sidebar('attach events', '#menu_usuario'); </script>]]>
790 <![CDATA[<script> var $buoop = {notify: {i: 12, f: 56, o: 49, s: 9, c: 60}, insecure: true, unsupported: true, style: "corner", api: 5}; function $buo_f() { var e = document.createElement("script"); e.src = "/js/update.min.js"; document.body.appendChild(e); } ; try { document.addEventListener("DOMContentLoaded", $buo_f, false) } catch (e) { window.attachEvent("onload", $buo_f)} </script>]]>
806 <![CDATA[<script> /** * Get the URL parameters * source: https://css-tricks.com/snippets/javascript/get-url-variables/ * @param {String} url The URL * @return {Object} The URL parameters */ var getParams = function (url) { var params = {}; var parser = document.createElement('a'); parser.href = url; var query = parser.search.substring(1); var vars = query.split('&'); for (var i = 0; i < vars.length; i++) { var pair = vars[i].split('='); params[pair[0]] = decodeURIComponent(pair[1]); } return params; }; function checkURL(value) { var urlregex = new RegExp("^(http|https|ftp)\://([a-zA-Z0-9\.\-]+(\:[a-zA-Z0-9\.&amp;%\$\-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(\:[0-9]+)*(/($|[a-zA-Z0-9\.\,\?\'\\\+&amp;%\$#\=~_\-]+))*$"); if (urlregex.test(value)) { return (true); } return (false); } function dump(arr,level) { var dumped_text = ""; if(!level) level = 0; //The padding given at the beginning of the line. var level_padding = ""; for(var j=0;j<level+1;j++) level_padding += " "; if(typeof(arr) == 'object') { //Array/Hashes/Objects for(var item in arr) { var value = arr[item]; if(typeof(value) == 'object') { //If it is an array, dumped_text += level_padding + "'" + item + "' ...\n"; dumped_text += dump(value,level+1); } else { dumped_text += level_padding + "'" + item + "' => \"" + value + "\"\n"; } } } else { //Stings/Chars/Numbers etc. dumped_text = "===>"+arr+"<===("+typeof(arr)+")"; } return dumped_text; } $('#oferta') .dropdown({ transition: 'none', direction:'downward', duration: 200, apiSettings: { url: '/noticia/rest/busca/autocomplete/{query}', cache: false }, message: { addResult: 'Adicionado <b>{term}</b>', count: '{count} selecionado', maxSelections: 'Máximo de {maxCount} seleções', noResults: 'Nenhum resultado encontrado.' }, minCharacters: 3, onChange(value, text, $choice) { $('#button_search').click(); }, onLabelCreate(value, text) { return $('<a class="ui label" style="background-color:rgb(0, 164, 210); color:white;" data-value="'+value+'">'+text+'<i class="delete icon"></i></a>'); }, onAdd(addedValue, addedText, $addedChoice) { $('#oferta .menu').removeClass("visible").addClass( "hidden"); $('#oferta').removeClass("active").removeClass("visible"); $('#oferta').find(".search").val(""); }, }) ; $('#filtro_status') .dropdown({ onChange: function (value, text, choice) { $('#button_search').click(); } }) ; $('#filtro_ordenacao') .dropdown({ onChange: function (value, text, choice) { $('#button_search').click(); } }) ; $('#filtro_publicacao') .dropdown({ onChange: function (value, text, choice) { $('#button_search').click(); } }) ; function montaResposta(response) { $('#button_proximo').hide(); var hea1 = document.getElementById("resultado_resumo1"); var hea2 = document.getElementById("resultado_resumo2"); var resu = document.getElementById("resultado"); var total = response.results.total; var proximo = response.results.proximo; total_texto = null; if (total === 0) { total = 'Nenhuma'; total_texto = 'Notícia'; } if (total === 1) { total_texto = 'Notícia'; } if (total > 1) { total_texto = 'Notícias'; } if(!total_texto) { total = 'Erro'; total_texto = 'ao buscar resultados!'; } hea1.innerHTML = '<div class="ui container column floated right aligned"><div class="ui mini statistic"><div class="value">'+total+'</div><div class="label">'+total_texto+'</div></div></div>'; hea2.innerHTML = '<div class="ui container column floated center aligned"><div class="ui mini statistic"><div class="value">'+total+' ; ;'+total_texto+'</div></div>'; for (item in response.results.itens) { var codigo = response.results.itens[item].co_seq_noticia; var categoria = response.results.itens[item].no_categoria; var slug = response.results.itens[item].ds_slug; var titulo = response.results.itens[item].ds_titulo; var resumo = response.results.itens[item].ds_resumo; var dt = moment(response.results.itens[item].dt_publicacao).format("DD/MM/YYYY"); var data = ''; var div = document.createElement('a'); div.setAttribute('class', 'ui card'); div.setAttribute('href',"noticia/"+slug); div.innerHTML = '<div class="tag" style="border-radius: 0px !important;">'+categoria+'</div>'; div.innerHTML += '<div style="height: 1em;"></div>'; div.innerHTML += '<div class="corpo" style="border-radius: 0px !important;"><span style="font-size:0.8em; color:#555; text-align:right;">'+dt+'</span><br/><span class="titulo">'+titulo+'</span><br/><span class="resumo">'+resumo+'</span></div>'; resu.appendChild(div); } //$('.abstract').dotdotdot(); if (proximo) { $('#button_proximo').attr("data-ativado", 0); $('#button_proximo').attr("data-proximo", proximo); $('#button_proximo').show(); $('#button_proximo').visibility('refresh'); } }; $('#button_search') .api({ url: '/noticia/rest/busca', method: 'POST', beforeSend: function (settings) { $('#oferta').addClass('loading'); settings.data.busca = document.getElementById('input_search').value; settings.data.ordenacao = document.getElementById('input_ordenacao').value; settings.data.categoria = document.getElementById('input_categoria').value; if (document.getElementById('input_publicacao')) { settings.data.filtro = document.getElementById('input_publicacao').value; } else { settings.data.filtro = 'publicados'; } settings.data.proximo = 0; return settings; }, onResponse: function (response) { document.getElementById("resultado").innerHTML = ''; montaResposta(response); $('#oferta').removeClass('loading'); var getUrl = window.location; var baseUrl = getUrl .protocol + "//" + getUrl.host + "/noticias"; window.history.replaceState(null,null, baseUrl+'?'+'status='+document.getElementById('input_categoria').value+'&busca='+document.getElementById('input_search').value+'&ordenacao='+document.getElementById('input_ordenacao').value); } }) ; $('#button_proximo') .api({ url: '/noticia/rest/busca', method: 'POST', beforeSend: function (settings) { settings.data.busca = document.getElementById('input_search').value; settings.data.ordenacao = document.getElementById('input_ordenacao').value; settings.data.categoria = document.getElementById('input_categoria').value; if (document.getElementById('input_publicacao')) { settings.data.filtro = document.getElementById('input_publicacao').value; } else { settings.data.filtro = 'publicados'; } settings.data.proximo = document.getElementById('button_proximo').getAttribute("data-proximo"); return settings; }, onResponse: function (response) { montaResposta(response); } }) ; $(document).ready(function () { var param = getParams(window.location.href); if (param['ordenacao']) { $('#filtro_ordenacao').dropdown('set selected', param['ordenacao']); } if (param['status']) { $('#filtro_status').dropdown('set selected', param['status']); } if (param['busca']) { parametros = param['busca'].split(','); $('#oferta').dropdown('set value', param['busca']); for (param in parametros) { $('#oferta').dropdown('add label', parametros[param], parametros[param]); } } $('#button_search').click(); $('#button_proximo').hide(); $(window).scroll(function(){ if ($(this).scrollTop() > 100) { $('a[href="#top"]').fadeIn(); } else { $('a[href="#top"]').fadeOut(); } }); $('a[href="#top"]').click(function(){ $('html, body').animate({scrollTop : 0},800); return false; }); }); $('#button_proximo') .visibility({ once: false, onBottomVisible: function () { $data_proximo = document.getElementById('button_proximo').getAttribute("data-proximo"); $data_ativado = document.getElementById('button_proximo').getAttribute("data-ativado"); if ($data_proximo == 0) { } else { if ($data_ativado == 0) { $('#button_proximo').attr("data-ativado", 1); $('#button_proximo').click(); } } }, }) ; $('select').dropdown({ direction:'downward', duration: 200, onShow: function(evt){ $(this).find('select').trigger('click');return false; }, }); </script>]]>
0 Não há código fonte a ser exibido.