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

educapes.capes.gov.br/simple-search?filterquery=RELL
E

62.9 46 297
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 83 391 392 393 394 680 695 706 709 710 714 718 719 721 722 723 724 726 728 730 730 734 1500 1500 1500 1500 1500 1500 1507 1507 1507 1507 1507 1507 1514 1514 1514 1514 1514 1514 1521 1521 1521 1521 1521 1521 1528 1528 1528 1528 1528 1528 1535 1535 1535 1535 1535 1535 1542 1542 1542 1542 1542 1542 1549 1549 1549 1549 1549 1549 1556 1556 1556 1556 1556 1556 1563 1563 1563 1563 1563 1563 2112 2462
1.1.4 Presença de CSS(s) interno 2 89 428
1.1.5 Presença de javascript(s) in-line 1 1294
1.1.6 Presença de javascript(s) interno 3 100 438 775
391 <![CDATA[<div id="barra-brasil" style="background:#7F7F7F; height: 20px; padding:0 0 0 10px;display:block;"> <ul id="menu-barra-temp" style="list-style:none;"> <li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED"> <a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do Governo Brasileiro</a> </li> </ul> </div>]]>
392 <![CDATA[<ul id="menu-barra-temp" style="list-style:none;"> <li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED"> <a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do Governo Brasileiro</a> </li> </ul>]]>
393 <![CDATA[<li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED"> <a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do Governo Brasileiro</a> </li>]]>
394 <![CDATA[<a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Portal do Governo Brasileiro</a>]]>
680 <![CDATA[<div align="center" class="divRating" style="cursor: pointer; border: 1px solid #444070; color: #444070 !important; width: 40px; height: 40px; border-radius: 60px; justify-content: center; align-items: center; display: flex; text-align: center;" data-html="<div class='header'>Avalie o eduCAPES</div><div class='content'><div class='ui star rating'><i class='active icon'></i><i class='active icon'></i><i class='active icon'></i><i class='active icon'></i><i class='active icon'></i></div></div>"> <i style="margin: unset!important;" class="iconCustom large star outline icon"></i> </div>]]>
695 <![CDATA[<i style="margin: unset!important;" class="iconCustom large star outline icon"></i>]]>
706 <![CDATA[<div id="modalRating" style="overflow-y: unset; background:#f8f8f8; height: max-content !important;max-width: max-content !important; margin: auto; max-height: 320px !important;" class="ui large modal"> <div class="header" style="color: #64b08d; display: flex;" > <div style="padding: 0px; padding-top: 45px; font-size: 0.7em; height: auto;">Avaliação do</div> <img style="width: 90px" src="/image/img/logo.png"></div> <div class="content"> <div id="ratingForm" class="ui massive star rating"></div> </div> <div align="center" style="margin-bottom: 10px; margin-top: 20px;"> <div style="margin: 10px"> <h4 align="center">Você é humano?</h4> <div style="display: inline-flex" class="captcha"> <div style="padding:10px 10px 5px 10px;width: 35px; border: solid 1px grey;" class="captchaV1">8</div> <div style="margin-left:5px; padding:10px 0px 0px 5px; " class="sum"><i class="plus icon"></i></div> <div style="margin-left:5px; padding:10px 10px 5px 10px; width: 35px; border: solid 1px grey;" class="captchaV2">5</div> <div style="margin-left:5px; padding:5px 0px 0px 0px; font-size: x-large; font-weight: 900;" class="equals"> = </div> <input maxlength="2" style="margin-left: 5px;padding: 5px 5px 5px 7px;width: 35px;" class="resultCaptcha" value=""> <div style="margin-left:5px; padding:10px 10px 5px 10px;" class="refreshCaptcha"><i style="color:#64b08d; cursor: pointer" class="ui large sync icon loading"></i></div> </div> </div> <div id="sendRating" style="width: 51px;" class="divRating ui green button" title="Enviar avaliação!"><i class="check icon"></i></div> </div> </div>]]>
709 <![CDATA[<div class="header" style="color: #64b08d; display: flex;" > <div style="padding: 0px; padding-top: 45px; font-size: 0.7em; height: auto;">Avaliação do</div> <img style="width: 90px" src="/image/img/logo.png"></div>]]>
710 <![CDATA[<div style="padding: 0px; padding-top: 45px; font-size: 0.7em; height: auto;">Avaliação do</div>]]>
714 <![CDATA[<img style="width: 90px" src="/image/img/logo.png">]]>
718 <![CDATA[<div align="center" style="margin-bottom: 10px; margin-top: 20px;"> <div style="margin: 10px"> <h4 align="center">Você é humano?</h4> <div style="display: inline-flex" class="captcha"> <div style="padding:10px 10px 5px 10px;width: 35px; border: solid 1px grey;" class="captchaV1">8</div> <div style="margin-left:5px; padding:10px 0px 0px 5px; " class="sum"><i class="plus icon"></i></div> <div style="margin-left:5px; padding:10px 10px 5px 10px; width: 35px; border: solid 1px grey;" class="captchaV2">5</div> <div style="margin-left:5px; padding:5px 0px 0px 0px; font-size: x-large; font-weight: 900;" class="equals"> = </div> <input maxlength="2" style="margin-left: 5px;padding: 5px 5px 5px 7px;width: 35px;" class="resultCaptcha" value=""> <div style="margin-left:5px; padding:10px 10px 5px 10px;" class="refreshCaptcha"><i style="color:#64b08d; cursor: pointer" class="ui large sync icon loading"></i></div> </div> </div> <div id="sendRating" style="width: 51px;" class="divRating ui green button" title="Enviar avaliação!"><i class="check icon"></i></div> </div>]]>
719 <![CDATA[<div style="margin: 10px"> <h4 align="center">Você é humano?</h4> <div style="display: inline-flex" class="captcha"> <div style="padding:10px 10px 5px 10px;width: 35px; border: solid 1px grey;" class="captchaV1">8</div> <div style="margin-left:5px; padding:10px 0px 0px 5px; " class="sum"><i class="plus icon"></i></div> <div style="margin-left:5px; padding:10px 10px 5px 10px; width: 35px; border: solid 1px grey;" class="captchaV2">5</div> <div style="margin-left:5px; padding:5px 0px 0px 0px; font-size: x-large; font-weight: 900;" class="equals"> = </div> <input maxlength="2" style="margin-left: 5px;padding: 5px 5px 5px 7px;width: 35px;" class="resultCaptcha" value=""> <div style="margin-left:5px; padding:10px 10px 5px 10px;" class="refreshCaptcha"><i style="color:#64b08d; cursor: pointer" class="ui large sync icon loading"></i></div> </div> </div>]]>
721 <![CDATA[<div style="display: inline-flex" class="captcha"> <div style="padding:10px 10px 5px 10px;width: 35px; border: solid 1px grey;" class="captchaV1">8</div> <div style="margin-left:5px; padding:10px 0px 0px 5px; " class="sum"><i class="plus icon"></i></div> <div style="margin-left:5px; padding:10px 10px 5px 10px; width: 35px; border: solid 1px grey;" class="captchaV2">5</div> <div style="margin-left:5px; padding:5px 0px 0px 0px; font-size: x-large; font-weight: 900;" class="equals"> = </div> <input maxlength="2" style="margin-left: 5px;padding: 5px 5px 5px 7px;width: 35px;" class="resultCaptcha" value=""> <div style="margin-left:5px; padding:10px 10px 5px 10px;" class="refreshCaptcha"><i style="color:#64b08d; cursor: pointer" class="ui large sync icon loading"></i></div> </div>]]>
722 <![CDATA[<div style="padding:10px 10px 5px 10px;width: 35px; border: solid 1px grey;" class="captchaV1">8</div>]]>
723 <![CDATA[<div style="margin-left:5px; padding:10px 0px 0px 5px; " class="sum"><i class="plus icon"></i></div>]]>
724 <![CDATA[<div style="margin-left:5px; padding:10px 10px 5px 10px; width: 35px; border: solid 1px grey;" class="captchaV2">5</div>]]>
726 <![CDATA[<div style="margin-left:5px; padding:5px 0px 0px 0px; font-size: x-large; font-weight: 900;" class="equals"> = </div>]]>
728 <![CDATA[<input maxlength="2" style="margin-left: 5px;padding: 5px 5px 5px 7px;width: 35px;" class="resultCaptcha" value="">]]>
730 <![CDATA[<div style="margin-left:5px; padding:10px 10px 5px 10px;" class="refreshCaptcha"><i style="color:#64b08d; cursor: pointer" class="ui large sync icon loading"></i></div>]]>
730 <![CDATA[<i style="color:#64b08d; cursor: pointer" class="ui large sync icon loading"></i>]]>
734 <![CDATA[<div id="sendRating" style="width: 51px;" class="divRating ui green button" title="Enviar avaliação!"><i class="check icon"></i></div>]]>
1500 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1500 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1500 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1500 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1500 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1500 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1507 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1507 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1507 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1507 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1507 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1507 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1514 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1514 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1514 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1514 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1514 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1514 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1521 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1521 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1521 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1521 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1521 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1521 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1528 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1528 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1528 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1528 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1528 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1528 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1535 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1535 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1535 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1535 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1535 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1535 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1542 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1542 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1542 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1542 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1542 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1542 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1549 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1549 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1549 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1549 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1549 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1549 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1556 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1556 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1556 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1556 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1556 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1556 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
1563 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1563 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1563 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1563 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1563 <![CDATA[<span style="color:#a9a9a9;">&#9733;</span>]]>
1563 <![CDATA[<span style="color:#a9a9a9;">(0)</span>]]>
2112 <![CDATA[<div class="previousNext col-md-10" style="display: inline-flex; float:right"> <a href="/simple-search?query=&amp;sort_by=score&amp;order=desc&amp;rpp=10&amp;etal=0&amp;type_page=1"> <span class="btn-sm btn-primary"> próximo </span> </a> </div>]]>
2462 <![CDATA[<div class="previousNext col-md-10" style="display: inline-flex; float:right"> <a href="/simple-search?query=&amp;sort_by=score&amp;order=desc&amp;rpp=10&amp;etal=0&amp;language_page=1"> <span class="btn-sm btn-primary"> próximo </span> </a> </div>]]>
89 <![CDATA[<style> .ui.search.dropdown .menu{ max-height: unset !important; } .t3{ overflow: auto; height: auto; max-height: 65px; } </style>]]>
428 <![CDATA[<style> .divRating:hover i.iconCustom{ color: white; } .divRating:hover{ background: #444070 !important; } </style>]]>
1294 <![CDATA[<button class="adicionar" type="submit" onclick="return validateFilters()">Adicionar</button>]]>
100 <![CDATA[<script type="text/javascript"> var jQ = jQuery.noConflict(); jQ(document).ready(function () { // jQ("div.t3").on('click',function () { // // console.log(jQ(this).html().length); // var reducedHeight = jQ(this).height(); // jQ(this).css('height', 'auto'); // var fullHeight = jQ(this).height(); // jQ(this).height(reducedHeight); // jQ(this).animate({height: fullHeight}, 500); // }); jQ('.ui.multiple.dropdown').dropdown(); // $('.dropdown').dropdown(); jQ('[data-toggle="tooltip"]').tooltip(); filterSearchIcon(); searchDropdownMenu(); formataIdiomas(); readMore(); jQ("form div.ui.input.focus input#query").on('input' , function () { var queryParam = jQ("form div.ui.input.focus input#query").val(); if (queryParam.length >= 3 && !isEmptyOrSpaces(queryParam)) { // GetSearchFunction(queryParam); } if(queryParam.length == 0){ jQ('li#RestSearchSolr').each(function(index, item){ // item.remove(); }); // jQ('#RestSearchSolr').each(index, item){ } function GetSearchFunction (queryParam) { var restApi = 'https://educapes.des.capes.gov.br/rest/items/search'; jQ.ajax({ dataType: 'json', headers: { Accept: "application/json", "Access-Control-Allow-Origin": "*" }, contentType:'application/json', type: 'GET', url: restApi, data: {"q":queryParam, "limit": 20, "expand":"metadata"}, success: function (data) { console.log(data); jQ('li#RestSearchSolr').each(function(index, item){ item.remove(); }); var thumb = "<div class=\"thumbnail-wrapper\"><div class=\"artifact-preview\">\n" + "<a href=\"#\"><span class=\"item-list conteudo-texto\"></span></a>\n" + "</div></div>"; jQ(data.item).each(function(index, item){ var requestContextPath = "" + "/handle/"; var html ="<li id=\"RestSearchSolr\">"+thumb + "<div class=\"artifact-description\">"+ "<div class=\"evenRowOddCol\"><a target='_blank' href="+ requestContextPath + item.handle + ">"+ item.name +"</a></div>"+ "<div class=\"evenRowEvenCol\">"+ item.handle +"</div>"+ "<div class=\"evenRowEvenCol\">"+ item.metadata.value +"</div>"+ "</li>"; jQ('ul.itemList').prepend(html); }) }, error: function (data) { console.log(data.error); } }); } }); jQ("#spellCheckQuery").click(function () { jQ("#query").val(jQ(this).attr('data-spell')); jQ("#main-query-submit").click(); }); jQ("#filterquery") .autocomplete({ source: function (request, response) { jQ.ajax({ url: "/json/discovery/autocomplete?query=", dataType: "json", cache: false, data: { auto_idx: jQ("#filtername").val(), auto_query: request.term, auto_sort: 'count', auto_type: jQ("#filtertype").val(), location: '' }, success: function (data) { response(jQ.map(data.autocomplete, function (item) { var tmp_val = item.authorityKey; if (tmp_val == null || tmp_val == '') { tmp_val = item.displayedValue; } return { label: item.displayedValue + " (" + item.count + ")", value: tmp_val }; })) } }) } }); }); function isEmptyOrSpaces(str){ return str === null || str.match(/^ *$/) !== null; } //Icon animation logic function filterSearchIcon(){ var filter = jQ("#filterquery").val(); if(isEmptyOrSpaces(filter)){ jQ(".search.icon").hide(); }else { jQ(".search.icon").show(); } jQ("#filterquery").on('input',function(e){ filter = jQ("#filterquery").val(); if(isEmptyOrSpaces(filter)){ jQ(".search.icon").hide(); }else { jQ(".search.icon").show(); } }); } function formataIdiomas() { var idiomas = [ {"id":"pt","value": "Português (pt)"}, {"id":"pt-br","value": "Português (pt-br)"}, {"id":"pt_BR","value": "Português (pt-br)"}, {"id":"por_br","value": "Português (pt-br)"}, {"id":"por","value":"Português (por)"}, {"id":"spa","value":"Espanhol (spa)"}, {"id":"es","value":"Espanhol (es)"}, {"id":"ita","value":"Italiano (ita)"}, {"id":"it","value":"Italiano (ita)"}, {"id":"eng","value":"Inglês (eng)"}, {"id":"en","value":"Inglês (en)"}, {"id":"en_us","value":"Inglês (en_us)"}, {"id":"na","value":"Inglês (en)"}, {"id":"deu","value":"Alemão (deu)"}, {"id":"de","value":"Alemão (de)"}, {"id":"fra","value":"Francês (fr)"}, {"id":"fr","value":"Francês (fr)"}, {"id":"cat","value":"Catalão (cat)"}, {"id":"pol","value":"Polonês (pol)"}, {"id":"pl","value":"Polonês (pl)"}, {"id":"abk","value":"Abecásio (abk)"}, {"id":"zho","value":"Chinês (zho)"}, {"id":"zh","value":"Chinês (zh)"}, {"id":"jpn","value":"Japonês (jpn)"}, {"id":"jp","value":"Japonês (jpn)"}, {"id":"nau","value":"Nauruano (nau)"}, {"id":"lat","value":"Latim (lat)"}, {"id":"glg","value":"Galego (glg)"} ]; jQ('p#language').each(function(spanIndex, spanItem) { var optionsObject = jQ(this); jQ.each(idiomas, function(i) { // console.log(idiomas[i].id.toLowerCase() === optionsObject.text().toLowerCase(), idiomas[i].id.toLowerCase(),optionsObject.text().toLowerCase()); if (optionsObject.text().toLowerCase().replace(" ","") === idiomas[i].id.toLowerCase()){ optionsObject.text(idiomas[i].value); } }); }); } //Validate Filters apply function validateFilters() { return document.getElementById("filterquery").value.length > 0; } //Menu logic dropdown Semantic UI function searchDropdownMenu(){ jQ('.ui.search.dropdown').dropdown(); jQ('div#dropdownBuscador a.text div.item div.text').html(jQ("select#tlocation option").filter(":selected").attr('name')); jQ('div#dropdownBuscador.ui.search.selection.dropdown a.text').html(jQ("select#tlocation option").filter(":selected").attr('name')); jQ("div#dropdownBuscador input").bind("enterKey",function(e){ var out = jQ('div.item.active.selected div.item').attr('value'); if(out === undefined){ out = jQ('div.item.active.selected').attr('value'); jQ("select#tlocation option").filter(":selected").val(out); // console.log(out); }else{ jQ("select#tlocation option").filter(":selected").val(out); // console.log(out); } }); jQ("div#dropdownBuscador input").keyup(function(e){ if(e.keyCode == 13) { jQ(this).trigger("enterKey"); } }); jQ('.ui.search.dropdown, #dropdownBuscador').dropdown({ allowCategorySelection: true, message: { count : '{count} selecionados', maxSelections : 'Máximo de {maxCount} seleções', noResults : 'Não encontrado.', serverError : 'Erro de conexão com servidor' }, onChange: function(value, text, $choice){ var choices = $choice.attr('value'); if (choices != undefined){ jQ("select#tlocation option").filter(":selected").val(choices); } } }); } function readMore(){ jQ('div.t2').each(function (idx,item) { if(jQ(this).html().length > 500){ jQ(this).css("height","5em"); jQ(this).css("padding","2px"); jQ(this).css("overflow","hidden"); jQ(this).append("<div align='center'><span class='minusContent glyphicon glyphicon-chevron-up'></span></div>"); } }); jQ('.minusContent').css("color","green"); var test; jQ('div.t2').on('click',function () { test = jQ(this); }); jQ.fn.toggleClick = function (funcArray) { return this.click(function () { var elem = jQ(this); var index = elem.data('index') || 0; funcArray[index](); elem.data('index', (index + 1) % funcArray.length); }); }; jQ('div.t2').toggleClick([ function () { if(test.html().length > 500){ jQ(test).css("height",""); } }, function () { if(test.html().length > 500){ jQ(test).css("height","5em"); } } ]); } </script>]]>
438 <![CDATA[<script> var url = '/poll'; jQ = jQuery.noConflict(); // jQ.noConflict(); jQ(function() { configureCaptcha(); refreshCaptcha(); var rating = jQ( ".divRating" ); var sendRating = jQ( "#sendRating" ); rating.popup({ position:'bottom left' }); rating.hover(function() { jQ('.iconCustom').transition('jiggle'); }); rating.click(function() { sendRating.addClass("disabled"); jQ('#modalRating').modal({ onVisible: function () { rating.popup({ position:'bottom left' }); } }).modal('show'); jQ('.iconCustom').transition('jiggle'); }); sendRating.click(function() { var result = parseInt(jQ('.captchaV1').text())+ parseInt(jQ('.captchaV2').text()); if(parseInt(result) === parseInt(jQ('input.resultCaptcha').val())){ // console.log(jQ('#ratingForm').rating('get rating')); sendEvaluation(url); }else jQ('.iconCustom').transition('jiggle'); }); }); function refreshCaptcha() { jQ('.refreshCaptcha').click(function() { a = Math.ceil(Math.random() * 10); b = Math.ceil(Math.random() * 10); c = jQ('input.resultCaptcha').val(''); jQ('.captchaV1').text(a); jQ('.captchaV2').text(b); jQ('input.resultCaptcha').focus(); jQ('#sendRating').addClass("disabled"); }); } function configureCaptcha() { jQ('input.resultCaptcha').on('input',function(e){ var result = parseInt(jQ('.captchaV1').text())+ parseInt(jQ('.captchaV2').text()); // console.log(result); // console.log(jQ('input.resultCaptcha').val()); if(parseInt(result) === parseInt(jQ('input.resultCaptcha').val())){ jQ('#sendRating').removeClass("disabled"); }else{ jQ('#sendRating').addClass("disabled"); } }); jQ('#ratingForm').rating({ initialRating: 3, maxRating: 5 }); var a = Math.ceil(Math.random() * 10); var b = Math.ceil(Math.random() * 10); jQ('.captchaV1').text(a); jQ('.captchaV2').text(b); } function sendEvaluation(url) { var resultCaptcha = parseInt(jQ('.captchaV1').text()) + parseInt(jQ('.captchaV2').text()); var validateCaptcha = jQ('input.resultCaptcha').val(); var ratingValue = jQ('#ratingForm').rating('get rating'); var data = {operation: "saveEvaluation", ratingValue: ratingValue, resultCaptcha: resultCaptcha, validateCaptcha: validateCaptcha }; jQ.post(url, data, function (res) { // console.log(res); if(res.indexOf("success") >= 0){ jQ('#modalRating').modal('hide'); jQ('div.divRating') .popup({ delay: { hide: 900 }, position : 'right center', target : 'div.divRating', title : 'Avaliação!', content : 'Sua avaliação foi registrada, Obrigado!' }).popup('show'); }else{ jQ('#modalRating').modal('hide'); jQ('div.divRating') .popup({ delay: { hide: 900 }, position : 'right center', target : 'div.divRating', title : 'Avaliação incorreta!', content : 'Avaliação não foi registrada!' }).popup('show'); } }); } </script>]]>
775 <![CDATA[<script> function enviaForm(){ var form = document.getElementById('default'); form.target='_blank'; form.method='post'; form.action = '/periodicos'; form.submit(); } var capturando=""; var place = document.getElementById('input').placeholder; function enviaDefault() { var form = document.getElementById('default'); form.method='get'; form.action = '/simple-search'; form.submit(); } </script>]]>