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

Sites Pertecentes a (o) PI

Endereço Nota Erros Avisos

alepi.pi.gov.br/radio/noticia.php?idNoticia=1029

69.22 61 582
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 45 21 23 23 23 25 30 32 40 42 44 46 48 50 52 59 67 80 83 84 85 86 87 88 89 90 90 90 91 97 99 105 111 134 152 153 156 157 160 161 171 337 338 339 340 343
1.1.6 Presença de javascript(s) interno 3 70 183 191
1.1.8 Não foram respeitados os Padrões Web CSS 481 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
21 <![CDATA[<nav class="navbar navbar-expand-md fixed-top navbar-dark bg-dark" style="background-color: #1b581b!important;background-color: #2a962a!important; border-bottom: 3px solid #6f750a; box-shadow: 0px 3px #ffd500; padding: .16rem 0rem;"> <div class="container" > <a class="navbar-brand" href="http://alepi.pi.gov.br/radio" style="margin-left:4px"><img src="img/logoRadioTransparente3.png" style=" height: 35px; border-radius: 4px;padding: 0px;" /> <span style="font-size:17px;color: #ffd500">R&Aacute;DIO ASSEMBLEIA</span></a> <div class="collapse navbar-collapse" id="navbarsExampleDefault"> <div class="mensagemMeio" style="text-align:left; width:30%;color: #ffd500"></div> </div> </div> </nav>]]>
23 <![CDATA[<a class="navbar-brand" href="http://alepi.pi.gov.br/radio" style="margin-left:4px"><img src="img/logoRadioTransparente3.png" style=" height: 35px; border-radius: 4px;padding: 0px;" /> <span style="font-size:17px;color: #ffd500">R&Aacute;DIO ASSEMBLEIA</span></a>]]>
23 <![CDATA[<img src="img/logoRadioTransparente3.png" style=" height: 35px; border-radius: 4px;padding: 0px;" />]]>
23 <![CDATA[<span style="font-size:17px;color: #ffd500">R&Aacute;DIO ASSEMBLEIA</span>]]>
25 <![CDATA[<div class="mensagemMeio" style="text-align:left; width:30%;color: #ffd500"></div>]]>
30 <![CDATA[<nav class="navbar navbar-expand-lg navbar-light bg-light" style="padding: 0px; margin-top: -19px;"> <div class="container" style=" margin-top: 5px;"> <a class="navbar-brand" href="#"></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07" aria-controls="navbarsExample07" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <!-- menu superior --> <div class="collapse navbar-collapse" id="navbarsExample07"> <ul class="navbar-nav mr-auto"> <li class="nav-item"> <a class="nav-link" href="index.php?idMenu=17" style="color: gray;">Inicio</a> </li> <li class="nav-item"> <a class="nav-link" href="conteudo.php?idMenu=9" style="color: gray;">A Radio</a> </li> <li class="nav-item"> <a class="nav-link" href="galerias.php?idMenu=10" style="color: gray;">Galeria de Fotos</a> </li> <li class="nav-item"> <a class="nav-link" href="noticias.php?idMenu=30" style="color: gray;">Noticias</a> </li> <li class="nav-item"> <a class="nav-link" href="conteudo.php?idMenu=39" style="color: gray;">Programação Diária</a> </li> <li class="nav-item"> <a class="nav-link" href="faleconosco.php?idMenu=22" style="color: gray;">Contato</a> </li> <li class="nav-item"> <a class="nav-link" href="fm.php?idMenu=37" style="color: gray;">Rádio Ao Vivo</a> </li> </ul> </div> <!-- menu superior / --> </div> </div> </nav>]]>
32 <![CDATA[<div class="container" style=" margin-top: 5px;"> <a class="navbar-brand" href="#"></a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07" aria-controls="navbarsExample07" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <!-- menu superior --> <div class="collapse navbar-collapse" id="navbarsExample07"> <ul class="navbar-nav mr-auto"> <li class="nav-item"> <a class="nav-link" href="index.php?idMenu=17" style="color: gray;">Inicio</a> </li> <li class="nav-item"> <a class="nav-link" href="conteudo.php?idMenu=9" style="color: gray;">A Radio</a> </li> <li class="nav-item"> <a class="nav-link" href="galerias.php?idMenu=10" style="color: gray;">Galeria de Fotos</a> </li> <li class="nav-item"> <a class="nav-link" href="noticias.php?idMenu=30" style="color: gray;">Noticias</a> </li> <li class="nav-item"> <a class="nav-link" href="conteudo.php?idMenu=39" style="color: gray;">Programação Diária</a> </li> <li class="nav-item"> <a class="nav-link" href="faleconosco.php?idMenu=22" style="color: gray;">Contato</a> </li> <li class="nav-item"> <a class="nav-link" href="fm.php?idMenu=37" style="color: gray;">Rádio Ao Vivo</a> </li> </ul> </div> <!-- menu superior / --> </div>]]>
40 <![CDATA[<a class="nav-link" href="index.php?idMenu=17" style="color: gray;">Inicio</a>]]>
42 <![CDATA[<a class="nav-link" href="conteudo.php?idMenu=9" style="color: gray;">A Radio</a>]]>
44 <![CDATA[<a class="nav-link" href="galerias.php?idMenu=10" style="color: gray;">Galeria de Fotos</a>]]>
46 <![CDATA[<a class="nav-link" href="noticias.php?idMenu=30" style="color: gray;">Noticias</a>]]>
48 <![CDATA[<a class="nav-link" href="conteudo.php?idMenu=39" style="color: gray;">Programação Diária</a>]]>
50 <![CDATA[<a class="nav-link" href="faleconosco.php?idMenu=22" style="color: gray;">Contato</a>]]>
52 <![CDATA[<a class="nav-link" href="fm.php?idMenu=37" style="color: gray;">Rádio Ao Vivo</a>]]>
59 <![CDATA[<hr style=" margin-top: 0px; margin-bottom: 5px;" />]]>
67 <![CDATA[<p class="float-right d-md-none" style="text-align:right;width:100%"> <button type="button" class="btn btn-primary btn-sm" data-toggle="offcanvas">Links</button> </p>]]>
80 <![CDATA[<small style="font-size: 60%;">23/04/2020 10:57</small>]]>
83 <![CDATA[<img style="float:left" src="../radioadm/upload/download1491587650392.png" class="col-md-8 col-sm-12" />]]>
84 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;"> ;governador Wellington Dias assinou o decreto ; n&ordm; 18.947, de 22 de abril de 2020, que estabelece o uso obrigat&oacute;rio de m&aacute;scaras de prote&ccedil;&atilde;o facial. Esta &eacute; mais uma medida de enfrentamento &agrave; Covid-19, com o objetivo de garantir mais seguran&ccedil;a para a sa&uacute;de dos piauienses. As m&aacute;scaras devem ser confeccionadas segundo as orienta&ccedil;&otilde;es do Minist&eacute;rio da Sa&uacute;de e tornam-se necess&aacute;rias ao sair de casa, deslocar-se por vias p&uacute;blica ou permanecer em espa&ccedil;os onde circulem outras pessoas.</p>]]>
85 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;">No decreto, &eacute; recomendado &agrave; popula&ccedil;&atilde;o em geral o uso de m&aacute;scaras artesanais, que podem ser confeccionadas, por exemplo, com tecidos de camisetas e el&aacute;stico. Os modelos s&atilde;o reproduzidos no anexo do decreto e est&atilde;o dispon&iacute;veis na p&aacute;gina virtual do Minist&eacute;rio da Sa&uacute;de: www.saude.gov.br.</p>]]>
86 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;">Pessoas com quadro de s&iacute;ndrome gripal em isolamento domiciliar e o seu cuidador mais pr&oacute;ximo, devem continuar em casa usando, preferencialmente, m&aacute;scara cir&uacute;rgica. A m&aacute;scara de prote&ccedil;&atilde;o facial &eacute; de uso individual e n&atilde;o deve ser compartilhada entre familiares, amigos e outros.</p>]]>
87 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;">Os fabricantes e distribuidores de m&aacute;scaras para uso profissional devem garantir prioritariamente o suficiente abastecimento da rede de assist&ecirc;ncia e aten&ccedil;&atilde;o &agrave; sa&uacute;de e, subsidiariamente, dos profissionais dos demais servi&ccedil;os essenciais. As medidas permanecem em vigor at&eacute; 30 de abril de 2020.</p>]]>
88 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;">De acordo com estudos realizados com base nas experi&ecirc;ncias de sete pa&iacute;ses no combate &agrave; Covid-19, o uso de m&aacute;scaras de prote&ccedil;&atilde;o, juntamente com a higiene das m&atilde;os, s&atilde;o eficientes para retardar a propaga&ccedil;&atilde;o exponencial do coronav&iacute;rus. As m&aacute;scaras caseiras, cir&uacute;rgicas e N95 t&ecirc;m uma capacidade de bloquear o v&iacute;rus entre 95,15% e 99,98%.</p>]]>
89 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;">No Brasil, mais de 30 cidades adotaram a obrigatoriedade do equipamento de prote&ccedil;&atilde;o. S&atilde;o munic&iacute;pios dos estados do Amazonas, S&atilde;o Paulo, Rio de Janeiro, Minas Gerais, Esp&iacute;rito Santo, Paran&aacute;, Bahia, Goi&aacute;s, Mato Grosso, Mato Grosso do Sul, Rio Grande do Sul e Santa Catarina.</p>]]>
90 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;"><a style="box-sizing: border-box; background-color: transparent; color: #004e78; text-decoration-line: none;" href="https://www.pi.gov.br/wp-content/uploads/2020/04/DIARIO22_88a2dcde30.pdf"><strong style="box-sizing: border-box;">O decreto foi publicado no Di&aacute;rio Oficial do Estado do Piau&iacute;</strong></a>.</p>]]>
90 <![CDATA[<a style="box-sizing: border-box; background-color: transparent; color: #004e78; text-decoration-line: none;" href="https://www.pi.gov.br/wp-content/uploads/2020/04/DIARIO22_88a2dcde30.pdf"><strong style="box-sizing: border-box;">O decreto foi publicado no Di&aacute;rio Oficial do Estado do Piau&iacute;</strong></a>]]>
90 <![CDATA[<strong style="box-sizing: border-box;">O decreto foi publicado no Di&aacute;rio Oficial do Estado do Piau&iacute;</strong>]]>
91 <![CDATA[<p style="box-sizing: border-box; margin-bottom: 20px; color: #333333; font-family: &amp;quot;Open Sans&amp;quot;, sans-serif; font-size: 16px;">FONTE; <a href="https://www.pi.gov.br/noticias/governo-decreta-uso-obrigatorio-de-mascaras-de-protecao-facial/">https://www.pi.gov.br/noticias/governo-decreta-uso-obrigatorio-de-mascaras-de-protecao-facial/</a></p>]]>
97 <![CDATA[<div style="margin-top:10px"><a href="http://www.alepi.pi.gov.br/radio/fm.php" target="_BLANC"><img src="img/oucaNossaRadio.jpg" class="img img-thumbnail" /></a></div>]]>
99 <![CDATA[<div style="margin-top:5px"> <a href="http://" title="teste" rel="teste"> <img class="img img-thumbnail" src="../radioadm/image/alepi1.jpg" title="teste"> </a> </div>]]>
105 <![CDATA[<div style="margin-top:5px"> <a href="http://www.radiojustica.jus.br/radiojustica/exibirHome!init.action" title="Radio Justiça" rel="Radio Justiça"> <img class="img img-thumbnail" src="../radioadm/upload/radioJustica551466790502.jpg" title="Radio Justiça"> </a> </div>]]>
111 <![CDATA[<div style="margin-top:5px"> <a href="http://www2.camara.leg.br/camaranoticias/radio/aoVivo.html" title="Câmara dos Deputados" rel="Câmara dos Deputados"> <img class="img img-thumbnail" src="../radioadm/upload/camaraDosDeputados481466791464.jpg" title="Câmara dos Deputados"> </a> </div>]]>
134 <![CDATA[<footer class="footer" style="background-color:#e1eae3;"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="row"> <div class="m col-6 col-sm-3"> <a class="h" href="">PORTAIS</a> <a class="m" href="http://alepi.pi.gov.br">ALEPI</a> <a class="m" href="http://www.tvassembleia.org">TV Assembleia</a> <a class="m" href="http://alepi.pi.gov.br/radio">Rádio Assembleia</a> <a class="m" href="http://alepi.pi.gov.br/escola">Escola do Legislativo</a> <a class="m" href="https://sapl.al.pi.leg.br/">SAPL</a> <a class="m" href="http://www.alepi.pi.gov.br/procon.php">PROCON</a> </div> <div class="m col-6 col-sm-3"> <a class="h" href="">ACESSO</a> <a class="m" href="index.php?idMenu=17">Inicio</a> <a class="m" href="conteudo.php?idMenu=9">A Radio</a> <a class="m" href="galerias.php?idMenu=10">Galeria de Fotos</a> <a class="m" href="noticias.php?idMenu=30">Noticias</a> <a class="m" href="conteudo.php?idMenu=39">Programação Diária</a> <a class="m" href="faleconosco.php?idMenu=22">Contato</a> </div> <div class="m col-6 col-sm-3"> <a class="h" href="">Ouviremos voc&ecirc;</a> <a class="m" href="">Ouvidoria</a> <a class="m" href="">Fale Conosco</a> <a class="m" href="">(86) 3133-3022</a> </div> <div class="m col-6 col-sm-3"> <a class="h" href="">Redes Sociais</a> <a class="m" style="" href="https://pt-br.facebook.com/Radio-Assembleia-Fm-983-186307088191572/"> <img src="img/facebook.png" style="height: 20px; margin: 0px 7px;" /> Facebook </a> <a class="m" href="" style="display:none"> <img src="img/googlePlus.png" style="height: 20px; margin: 0px 7px;" /> Google Plus </a> <a class="m" href="https://www.youtube.com/channel/UCexxvtcRCDNBqMAGfYZalWg" style=""> <img src="img/you-tube.jpg" style="height: 20px; margin: 0px 7px;" /> Youtube </a> </div> </div> </div> </div> </div> </footer>]]>
152 <![CDATA[<a class="m" style="" href="https://pt-br.facebook.com/Radio-Assembleia-Fm-983-186307088191572/"> <img src="img/facebook.png" style="height: 20px; margin: 0px 7px;" /> Facebook </a>]]>
153 <![CDATA[<img src="img/facebook.png" style="height: 20px; margin: 0px 7px;" />]]>
156 <![CDATA[<a class="m" href="" style="display:none"> <img src="img/googlePlus.png" style="height: 20px; margin: 0px 7px;" /> Google Plus </a>]]>
157 <![CDATA[<img src="img/googlePlus.png" style="height: 20px; margin: 0px 7px;" />]]>
160 <![CDATA[<a class="m" href="https://www.youtube.com/channel/UCexxvtcRCDNBqMAGfYZalWg" style=""> <img src="img/you-tube.jpg" style="height: 20px; margin: 0px 7px;" /> Youtube </a>]]>
161 <![CDATA[<img src="img/you-tube.jpg" style="height: 20px; margin: 0px 7px;" />]]>
171 <![CDATA[<div class="FooterMain-endereco" style=" background: #1b581b;background: #2a962a; color: #e0e0e0; text-align: center;"> Av. Mal. Castelo Branco, 201 - Cabral - Teresina/PI (86) 3133-3022 Copyright &copy; 2019 - Assembleia Legislativa do Piau&iacute; </div>]]>
337 <![CDATA[<div id="modalIframe" class="wrapper" style="position: fixed; top: 0px; width: 100%; display:none; height: 100%; background: #0c0b0b61;" > <div class="modal-dialog" role="document" style="width:90%; height:95%; max-width: 100%;"> <div class="modal-content" style="height:90%;background-color: #fffffff2; padding:12px;top:43px"> <button type="button" id="fechar" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true" style=" top: 0px; position: absolute; right: 5px; zoom: 1.5;" >&times;</span></button> <pre><span class="modal-title" id="label"></span></pre> <h2 class="modal-title" id="myModalLabel">Deputado<span id="SpanModalDeputado"></span></h2> <iframe style="display:none;width:100%; height:90%" frameborder="0" marginheight="0" marginwidth="0" scrolling="yes" id="iframeSub" src="" /> </div> </div> </div>]]>
338 <![CDATA[<div class="modal-dialog" role="document" style="width:90%; height:95%; max-width: 100%;"> <div class="modal-content" style="height:90%;background-color: #fffffff2; padding:12px;top:43px"> <button type="button" id="fechar" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true" style=" top: 0px; position: absolute; right: 5px; zoom: 1.5;" >&times;</span></button> <pre><span class="modal-title" id="label"></span></pre> <h2 class="modal-title" id="myModalLabel">Deputado<span id="SpanModalDeputado"></span></h2> <iframe style="display:none;width:100%; height:90%" frameborder="0" marginheight="0" marginwidth="0" scrolling="yes" id="iframeSub" src="" /> </div> </div>]]>
339 <![CDATA[<div class="modal-content" style="height:90%;background-color: #fffffff2; padding:12px;top:43px"> <button type="button" id="fechar" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true" style=" top: 0px; position: absolute; right: 5px; zoom: 1.5;" >&times;</span></button> <pre><span class="modal-title" id="label"></span></pre> <h2 class="modal-title" id="myModalLabel">Deputado<span id="SpanModalDeputado"></span></h2> <iframe style="display:none;width:100%; height:90%" frameborder="0" marginheight="0" marginwidth="0" scrolling="yes" id="iframeSub" src="" /> </div>]]>
340 <![CDATA[<span aria-hidden="true" style=" top: 0px; position: absolute; right: 5px; zoom: 1.5;" >&times;</span>]]>
343 <![CDATA[<iframe style="display:none;width:100%; height:90%" frameborder="0" marginheight="0" marginwidth="0" scrolling="yes" id="iframeSub" src="" />]]>
70 <![CDATA[<script language ="JavaScript"> function confirmar(caminho,comando,mensagem) { if (confirm (mensagem)) { window.location=caminho + comando; return true; } else window.location=caminho; //return false; } </script>]]>
183 <![CDATA[<script>window.jQuery || document.write('<script src="bootstrap/assets/js/vendor/jquery.min.js"><\/script>')</script>]]>
191 <![CDATA[<script type="text/javascript"> $(function(){ // Iframe subChamados $('.mostrarDeputado').click(function(){ var id = $(this).attr('id').substring(2,10); var valor = 'deputado.php?iddeputado=' + id; //$('#SpanModalDeputado').html(id); $('#iframeSub').attr('src',valor); $('#modalIframe').show(); $('#iframeSub').show(); $('#label').hide(); }); $('#fechar').click(function(){ $('#modalIframe').hide(); }); $('#modalIframe').click(function(){ $('#modalIframe').hide(); }); // Iframe subChamados / }); // comissoes técnicas $(function(){ $('#idcomissaotecnica').change(function(){ if( $(this).val() ) { $('#idcomissaotecnicamembros').hide(); $.getJSON('comissaotecnicamembros.ajax.php?search=',{idcomissaotecnica: $(this).val(), ajax: 'true'}, function(j){ var options = ''; for (var i = 0; i < j.length; i++) { if(i == 0) { options += '<table id="sample-table-2" class="table table-striped table-bordered table-hover"><thead><tr><th scope="col">Deputado / Membro</th><th scope="col">Cargo</th></tr></thead><tfoot></tfoot><tbody>'; } options += '<th scope="row" id="r100">' + j[i].membros + '</th><td>' + j[i].cargo + '</td></tr>'; if(i == j.length - 1) { options += '</tbody></table>'; } } $('#idcomissaotecnicamembros').html(options).show(); }); } }); }); // comissoes técnicas // // para modal da galeria de fotos let modalId = $('#image-gallery'); $(document) .ready(function () { loadGallery(true, 'a.thumbnail'); //This function disables buttons when needed function disableButtons(counter_max, counter_current) { $('#show-previous-image, #show-next-image') .show(); if (counter_max === counter_current) { $('#show-next-image') .hide(); } else if (counter_current === 1) { $('#show-previous-image') .hide(); } } /** * * @param setIDs Sets IDs when DOM is loaded. If using a PHP counter, set to false. * @param setClickAttr Sets the attribute for the click handler. */ function loadGallery(setIDs, setClickAttr) { let current_image, selector, counter = 0; $('#show-next-image, #show-previous-image') .click(function () { if ($(this) .attr('id') === 'show-previous-image') { current_image--; } else { current_image++; } selector = $('[data-image-id="' + current_image + '"]'); updateGallery(selector); }); function updateGallery(selector) { let $sel = selector; current_image = $sel.data('image-id'); $('#image-gallery-title') .text($sel.data('title')); $('#image-gallery-image') .attr('src', $sel.data('image')); disableButtons(counter, $sel.data('image-id')); } if (setIDs == true) { $('[data-image-id]') .each(function () { counter++; $(this) .attr('data-image-id', counter); }); } $(setClickAttr) .on('click', function () { updateGallery($(this)); }); } }); // build key actions $(document) .keydown(function (e) { switch (e.which) { case 37: // left if ((modalId.data('bs.modal') || {})._isShown && $('#show-previous-image').is(":visible")) { $('#show-previous-image') .click(); } break; case 39: // right if ((modalId.data('bs.modal') || {})._isShown && $('#show-next-image').is(":visible")) { $('#show-next-image') .click(); } break; default: return; // exit this handler for other keys } e.preventDefault(); // prevent the default action (scroll / move caret) }); // para modal da galeria de fotos / </script>]]>
0 Não há código fonte a ser exibido.