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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

www.camararubineia.sp.gov.br/

77.74 141 481
Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 36 17 73 82 97 106 236 1357 1414 1426 1459 1516 1528 1698 1710 2195 2200 2206 2214 2225 2260 2272 2404 2416 2537 2549 2614 2626 2707 2729 2748 2754 2760 2769 2781 3410 3437
17 <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.camararubineia.sp.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.8.4"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script>]]>
73 <![CDATA[<script type='text/javascript' id='layerslider-js-extra'> /* <![CDATA[ */ var LS_Meta = {"v":"6.1.6"}; /* ]]> */ </script>]]>
82 <![CDATA[<script type='text/javascript' id='icwp-wpsf-shield-notbot-js-extra'> /* <![CDATA[ */ var shield_vars_notbotjs = {"ajax":{"not_bot":"action=icwp-wpsf&exec=not_bot&exec_nonce=df41e517ba&mod_slug=icwp-wpsf-ips"},"hrefs":{"ajax":"http:\/\/www.camararubineia.sp.gov.br\/wp-admin\/admin-ajax.php"},"flags":{"run":true}}; /* ]]> */ </script>]]>
97 <![CDATA[<script> window.tdwGlobal = {"adminUrl":"http:\/\/www.camararubineia.sp.gov.br\/wp-admin\/","wpRestNonce":"87d9ea4bf1","wpRestUrl":"http:\/\/www.camararubineia.sp.gov.br\/wp-json\/","permalinkStructure":"\/%postname%\/"}; </script>]]>
106 <![CDATA[<script> var tdBlocksArray = []; //here we store all the items for the current page //td_block class - each ajax block uses a object of this class for requests function tdBlock() { this.id = ''; this.block_type = 1; //block type id (1-234 etc) this.atts = ''; this.td_column_number = ''; this.td_current_page = 1; // this.post_count = 0; //from wp this.found_posts = 0; //from wp this.max_num_pages = 0; //from wp this.td_filter_value = ''; //current live filter value this.is_ajax_running = false; this.td_user_action = ''; // load more or infinite loader (used by the animation) this.header_color = ''; this.ajax_pagination_infinite_stop = ''; //show load more at page x } // td_js_generator - mini detector (function(){ var htmlTag = document.getElementsByTagName("html")[0]; if ( navigator.userAgent.indexOf("MSIE 10.0") > -1 ) { htmlTag.className += ' ie10'; } if ( !!navigator.userAgent.match(/Trident.*rv\:11\./) ) { htmlTag.className += ' ie11'; } if ( navigator.userAgent.indexOf("Edge") > -1 ) { htmlTag.className += ' ieEdge'; } if ( /(iPad|iPhone|iPod)/g.test(navigator.userAgent) ) { htmlTag.className += ' td-md-is-ios'; } var user_agent = navigator.userAgent.toLowerCase(); if ( user_agent.indexOf("android") > -1 ) { htmlTag.className += ' td-md-is-android'; } if ( -1 !== navigator.userAgent.indexOf('Mac OS X') ) { htmlTag.className += ' td-md-is-os-x'; } if ( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) ) { htmlTag.className += ' td-md-is-chrome'; } if ( -1 !== navigator.userAgent.indexOf('Firefox') ) { htmlTag.className += ' td-md-is-firefox'; } if ( -1 !== navigator.userAgent.indexOf('Safari') && -1 === navigator.userAgent.indexOf('Chrome') ) { htmlTag.className += ' td-md-is-safari'; } if( -1 !== navigator.userAgent.indexOf('IEMobile') ){ htmlTag.className += ' td-md-is-iemobile'; } })(); var tdLocalCache = {}; ( function () { "use strict"; tdLocalCache = { data: {}, remove: function (resource_id) { delete tdLocalCache.data[resource_id]; }, exist: function (resource_id) { return tdLocalCache.data.hasOwnProperty(resource_id) && tdLocalCache.data[resource_id] !== null; }, get: function (resource_id) { return tdLocalCache.data[resource_id]; }, set: function (resource_id, cachedData) { tdLocalCache.remove(resource_id); tdLocalCache.data[resource_id] = cachedData; } }; })(); var tds_login_sing_in_widget="show"; var td_viewport_interval_list=[{"limitBottom":767,"sidebarWidth":228},{"limitBottom":1018,"sidebarWidth":300},{"limitBottom":1140,"sidebarWidth":324}]; var td_animation_stack_effect="type0"; var tds_animation_stack=true; var td_animation_stack_specific_selectors=".entry-thumb, img"; var td_animation_stack_general_selectors=".td-animation-stack img, .td-animation-stack .entry-thumb, .post img"; var td_ajax_url="http:\/\/www.camararubineia.sp.gov.br\/wp-admin\/admin-ajax.php?td_theme_name=Newspaper&v=8.5.1"; var td_get_template_directory_uri="http:\/\/www.camararubineia.sp.gov.br\/wp-content\/themes\/Newspaper"; var tds_snap_menu=""; var tds_logo_on_sticky="show_header_logo"; var tds_header_style=""; var td_please_wait="Por favor espere..."; var td_email_user_pass_incorrect="Usu\u00e1rio ou senha incorretos!"; var td_email_user_incorrect="Email ou nome usu\u00e1rio incorretos!"; var td_email_incorrect="Email incorreto!"; var tds_more_articles_on_post_enable="show"; var tds_more_articles_on_post_time_to_wait=""; var tds_more_articles_on_post_pages_distance_from_top=0; var tds_theme_color_site_wide="#f21d1d"; var tds_smart_sidebar="enabled"; var tdThemeName="Newspaper"; var td_magnific_popup_translation_tPrev="Anterior (Seta a esquerda )"; var td_magnific_popup_translation_tNext="Avan\u00e7ar (Seta a direita)"; var td_magnific_popup_translation_tCounter="%curr% de %total%"; var td_magnific_popup_translation_ajax_tError="O conte\u00fado de% url% n\u00e3o p\u00f4de ser carregado."; var td_magnific_popup_translation_image_tError="A imagem #% curr% n\u00e3o p\u00f4de ser carregada."; var tdDateNamesI18n={"month_names":["Janeiro","Fevereiro","Mar\u00e7o","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],"month_names_short":["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],"day_names":["Domingo","Segunda-feira","Ter\u00e7a-feira","Quarta-feira","Quinta-feira","Sexta-feira","S\u00e1bado"],"day_names_short":["Dom","Seg","Ter","Qua","Qui","Sex","S\u00e1b"]}; var td_ad_background_click_link=""; var td_ad_background_click_target=""; </script>]]>
236 <![CDATA[<script type="text/javascript">function setREVStartSize(e){ //window.requestAnimationFrame(function() { window.RSIW = window.RSIW===undefined ? window.innerWidth : window.RSIW; window.RSIH = window.RSIH===undefined ? window.innerHeight : window.RSIH; try { var pw = document.getElementById(e.c).parentNode.offsetWidth, newh; pw = pw===0 || isNaN(pw) ? window.RSIW : pw; e.tabw = e.tabw===undefined ? 0 : parseInt(e.tabw); e.thumbw = e.thumbw===undefined ? 0 : parseInt(e.thumbw); e.tabh = e.tabh===undefined ? 0 : parseInt(e.tabh); e.thumbh = e.thumbh===undefined ? 0 : parseInt(e.thumbh); e.tabhide = e.tabhide===undefined ? 0 : parseInt(e.tabhide); e.thumbhide = e.thumbhide===undefined ? 0 : parseInt(e.thumbhide); e.mh = e.mh===undefined || e.mh=="" || e.mh==="auto" ? 0 : parseInt(e.mh,0); if(e.layout==="fullscreen" || e.l==="fullscreen") newh = Math.max(e.mh,window.RSIH); else{ e.gw = Array.isArray(e.gw) ? e.gw : [e.gw]; for (var i in e.rl) if (e.gw[i]===undefined || e.gw[i]===0) e.gw[i] = e.gw[i-1]; e.gh = e.el===undefined || e.el==="" || (Array.isArray(e.el) && e.el.length==0)? e.gh : e.el; e.gh = Array.isArray(e.gh) ? e.gh : [e.gh]; for (var i in e.rl) if (e.gh[i]===undefined || e.gh[i]===0) e.gh[i] = e.gh[i-1]; var nl = new Array(e.rl.length), ix = 0, sl; e.tabw = e.tabhide>=pw ? 0 : e.tabw; e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw; e.tabh = e.tabhide>=pw ? 0 : e.tabh; e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh; for (var i in e.rl) nl[i] = e.rl[i]<window.RSIW ? 0 : e.rl[i]; sl = nl[0]; for (var i in nl) if (sl>nl[i] && nl[i]>0) { sl = nl[i]; ix=i;} var m = pw>(e.gw[ix]+e.tabw+e.thumbw) ? 1 : (pw-(e.tabw+e.thumbw)) / (e.gw[ix]); newh = (e.gh[ix] * m) + (e.tabh + e.thumbh); } if(window.rs_init_css===undefined) window.rs_init_css = document.head.appendChild(document.createElement("style")); document.getElementById(e.c).height = newh+"px"; window.rs_init_css.innerHTML += "#"+e.c+"_wrapper { height: "+newh+"px }"; } catch(e){ console.log("Failure at Presize of Slider:" + e) } //}); };</script>]]>
1357 <![CDATA[<script type="text/javascript"> setREVStartSize({c: 'rev_slider_2_1',rl:[1240,1024,778,778],el:[400,600,600,600],gw:[1300,1300,600,600],gh:[400,600,600,600],type:'standard',justify:'',layout:'fullwidth',mh:"0"}); var revapi2, tpj; function revinit_revslider21() { jQuery(function() { tpj = jQuery; revapi2 = tpj("#rev_slider_2_1"); if(revapi2==undefined || revapi2.revolution == undefined){ revslider_showDoubleJqueryError("rev_slider_2_1"); }else{ revapi2.revolution({ duration:8000, visibilityLevels:"1240,1024,778,778", gridwidth:"1300,1300,600,600", gridheight:"400,600,600,600", perspective:600, perspectiveType:"local", editorheight:"400,600,600,600", responsiveLevels:"1240,1024,778,778", stopAtSlide:1, stopAfterLoops:2, stopLoop:true, progressBar: { color:"rgba(255,255,255,0.3)", vertical:"top", size:5, x:0, y:0 }, navigation: { mouseScrollNavigation:false, wheelCallDelay:1000, onHoverStop:false, touch: { touchenabled:true } }, viewPort: { enable:true, outof:"pause", visible_area:"50%" }, fallbacks: { allowHTML5AutoPlayOnAndroid:true }, }); } }); } // End of RevInitScript var once_revslider21 = false; if (document.readyState === "loading") {document.addEventListener('readystatechange',function() { if((document.readyState === "interactive" || document.readyState === "complete") && !once_revslider21 ) { once_revslider21 = true; revinit_revslider21();}});} else {once_revslider21 = true; revinit_revslider21();} </script>]]>
1414 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_1_625f285969e00 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
1426 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_1_625f285969e00 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
1459 <![CDATA[<script>var block_td_uid_9_625f285972fb3 = new tdBlock(); block_td_uid_9_625f285972fb3.id = "td_uid_9_625f285972fb3"; block_td_uid_9_625f285972fb3.atts = '{"limit":5,"sort":"","post_ids":"","tag_slug":"","autors_id":"","installed_post_types":"","category_id":"125","category_ids":"","custom_title":"","custom_url":"","show_child_cat":"","sub_cat_ajax":"","ajax_pagination":"","header_color":"","header_text_color":"","ajax_pagination_infinite_stop":"","td_column_number":2,"td_ajax_preloading":"","td_ajax_filter_type":"","td_ajax_filter_ids":"","td_filter_default_txt":"Todos","color_preset":"","border_top":"","class":"td_uid_9_625f285972fb3_rand","el_class":"","offset":"","css":"","tdc_css":"","tdc_css_class":"td_uid_9_625f285972fb3_rand","tdc_css_class_style":"td_uid_9_625f285972fb3_rand_style","live_filter":"","live_filter_cur_post_id":"","live_filter_cur_post_author":"","block_template_id":""}'; block_td_uid_9_625f285972fb3.td_column_number = "2"; block_td_uid_9_625f285972fb3.block_type = "td_block_slide"; block_td_uid_9_625f285972fb3.post_count = "5"; block_td_uid_9_625f285972fb3.found_posts = "40"; block_td_uid_9_625f285972fb3.header_color = ""; block_td_uid_9_625f285972fb3.ajax_pagination_infinite_stop = ""; block_td_uid_9_625f285972fb3.max_num_pages = "8"; tdBlocksArray.push(block_td_uid_9_625f285972fb3); </script>]]>
1516 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_3_625f2859726e4 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
1528 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_3_625f2859726e4 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
1698 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_10_625f28597813d .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
1710 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_10_625f28597813d .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
2195 <![CDATA[<script id="ats-dynamic-script-7331"> jQuery(document).ready(function ($) { ATS.init_animations('7331'); }); </script>]]>
2200 <![CDATA[<script type="text/javascript"> // handle click on employer to open profile url jQuery(document).ready(function ($) { ATS.bind_profiles(7331); }); </script>]]>
2206 <![CDATA[<script type="text/javascript"> (function ($) { $(function () { ATS.calc_rating_icons_size(7331); ATS.calc_social_icons_size(7331); }); }(jQuery)); </script>]]>
2214 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function($){ var slider_options = { count: 1, autoplay: 1, speed: 1500, adaptive: 0, } ATS.enable_slider(7331, slider_options); }); </script>]]>
2225 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function($){ $('#ats-layout-7331').show(); }); </script>]]>
2260 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_22_625f285978d11 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
2272 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_22_625f285978d11 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
2404 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_27_625f28599aea8 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
2416 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_27_625f28599aea8 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
2537 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_36_625f28599bb80 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
2549 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_36_625f28599bb80 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
2614 <![CDATA[<script> jQuery(window).load(function () { jQuery('body').find('#td_uid_45_625f28599d035 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); </script>]]>
2626 <![CDATA[<script> jQuery(window).ready(function () { // We need timeout because the content must be rendered and interpreted on client setTimeout(function () { var $content = jQuery('body').find('#tdc-live-iframe'), refWindow = undefined; if ($content.length) { $content = $content.contents(); refWindow = document.getElementById('tdc-live-iframe').contentWindow || document.getElementById('tdc-live-iframe').contentDocument; } else { $content = jQuery('body'); refWindow = window; } $content.find('#td_uid_45_625f28599d035 .td-element-style').each(function (index, element) { jQuery(element).css('opacity', 1); return; }); }); }, 200); </script>]]>
2707 <![CDATA[<script>document.write(new Date().getFullYear());</script>]]>
2729 <![CDATA[<script type="text/javascript"> if(typeof revslider_showDoubleJqueryError === "undefined") { function revslider_showDoubleJqueryError(sliderID) { var err = "<div class='rs_error_message_box'>"; err += "<div class='rs_error_message_oops'>Oops...</div>"; err += "<div class='rs_error_message_content'>"; err += "You have some jquery.js library include that comes after the Slider Revolution files js inclusion.<br>"; err += "To fix this, you can:<br> ; ; ; 1. Set 'Module General Options' -> 'Advanced' -> 'jQuery & OutPut Filters' -> 'Put JS to Body' to on"; err += "<br> ; ; ; 2. Find the double jQuery.js inclusion and remove it"; err += "</div>"; err += "</div>"; var slider = document.getElementById(sliderID); slider.innerHTML = err; slider.style.display = "block"; } } </script>]]>
2748 <![CDATA[<script type='text/javascript' id='contact-form-7-js-extra'> /* <![CDATA[ */ var wpcf7 = {"api":{"root":"http:\/\/www.camararubineia.sp.gov.br\/wp-json\/","namespace":"contact-form-7\/v1"}}; /* ]]> */ </script>]]>
2754 <![CDATA[<script type='text/javascript' id='uwpqsfscript-js-extra'> /* <![CDATA[ */ var ajax = {"url":"http:\/\/www.camararubineia.sp.gov.br\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script>]]>
2760 <![CDATA[<script type='text/javascript' id='wp-polls-js-extra'> /* <![CDATA[ */ var pollsL10n = {"ajax_url":"http:\/\/www.camararubineia.sp.gov.br\/wp-admin\/admin-ajax.php","text_wait":"Your last request is still being processed. Please wait a while ...","text_valid":"Please choose a valid poll answer.","text_multiple":"Maximum number of choices allowed: ","show_loading":"1","show_fading":"1"}; /* ]]> */ </script>]]>
2769 <![CDATA[<script type='text/javascript' id='wpcf7-recaptcha-js-extra'> /* <![CDATA[ */ var wpcf7_recaptcha = {"sitekey":"6Lf6Jc0aAAAAAE7cUSUOZATmd9PlydZ5iaEnxqFt","actions":{"homepage":"homepage","contactform":"contactform"}}; /* ]]> */ </script>]]>
2781 <![CDATA[<script> jQuery(document).ready(function() { jQuery("#td_uid_10_625f2859744b2").iosSlider({ snapToChildren: true, desktopClickDrag: true, keyboardControls: false, responsiveSlideContainer: true, responsiveSlides: true, autoSlide: true, autoSlideTimer: 2000, infiniteSlider: true, navPrevSelector: jQuery("#td_uid_10_625f2859744b2 .prevButton"), navNextSelector: jQuery("#td_uid_10_625f2859744b2 .nextButton") , //onSliderLoaded : td_resize_normal_slide, //onSliderResize : td_resize_normal_slide_and_update }); }); (function(){ var html_jquery_obj = jQuery('html'); if (html_jquery_obj.length && (html_jquery_obj.is('.ie8') || html_jquery_obj.is('.ie9'))) { var path = 'http://www.camararubineia.sp.gov.br/wp-content/themes/Newspaper/style.css'; jQuery.get(path, function(data) { var str_split_separator = '#td_css_split_separator'; var arr_splits = data.split(str_split_separator); var arr_length = arr_splits.length; if (arr_length > 1) { var dir_path = 'http://www.camararubineia.sp.gov.br/wp-content/themes/Newspaper'; var splited_css = ''; for (var i = 0; i < arr_length; i++) { if (i > 0) { arr_splits[i] = str_split_separator + ' ' + arr_splits[i]; } //jQuery('head').append('<style>' + arr_splits[i] + '</style>'); var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) { return ' url(\'' + dir_path + '/' + str.replace(/url\(\'/gi, '').replace(/^\s+|\s+$/gm,''); }); splited_css += "<style>" + formated_str + "</style>"; } var td_theme_css = jQuery('link#td-theme-css'); if (td_theme_css.length) { td_theme_css.after(splited_css); } } }); } })(); </script>]]>
3410 <![CDATA[<script> (function(jQuery, undefined) { jQuery(window).ready(function() { if ( 'undefined' !== typeof tdcAdminIFrameUI ) { var $liveIframe = tdcAdminIFrameUI.getLiveIframe(); if ( $liveIframe.length ) { $liveIframe.load(function() { $liveIframe.contents().find( 'body').append( '<textarea class="tdw-css-writer-editor" style="display: none"></textarea>' ); }); } } }); })(jQuery); </script>]]>
3437 <![CDATA[<script> jQuery(window).load(function (){ if ( 'undefined' !== typeof tdLiveCssInject ) { tdLiveCssInject.init(); var editor_textarea = jQuery('.td_live_css_uid_1_625f2859a1aa3'); var languageTools = ace.require("ace/ext/language_tools"); var tdcCompleter = { getCompletions: function (editor, session, pos, prefix, callback) { if (prefix.length === 0) { callback(null, []); return } if ('undefined' !== typeof tdcAdminIFrameUI) { var data = { error: undefined, getShortcode: '' }; tdcIFrameData.getShortcodeFromData(data); if (!_.isUndefined(data.error)) { tdcDebug.log(data.error); } if (!_.isUndefined(data.getShortcode)) { var regex = /el_class=\"([A-Za-z0-9_-]*\s*)+\"/g, results = data.getShortcode.match(regex); var elClasses = {}; for (var i = 0; i < results.length; i++) { var currentClasses = results[i] .replace('el_class="', '') .replace('"', '') .split(' '); for (var j = 0; j < currentClasses.length; j++) { if (_.isUndefined(elClasses[currentClasses[j]])) { elClasses[currentClasses[j]] = ''; } } } var arrElClasses = []; for (var prop in elClasses) { arrElClasses.push(prop); } callback(null, arrElClasses.map(function (item) { return { name: item, value: item, meta: 'in_page' } })); } } } }; languageTools.addCompleter(tdcCompleter); window.editor = ace.edit("td_live_css_uid_1_625f2859a1aa3"); // 'change' handler is written as function because it's called by tdc_on_add_css_live_components (of wp_footer hook) // We did it to reattach the existing compiled css to the new content received from server. window.editorChangeHandler = function () { //tdwState.lessWasEdited = true; window.onbeforeunload = function () { if (tdwState.lessWasEdited) { return "You have attempted to leave this page. Are you sure?"; } return false; }; var editorValue = editor.getSession().getValue(); editor_textarea.val(editorValue); if ('undefined' !== typeof tdcAdminIFrameUI) { tdcAdminIFrameUI.getLiveIframe().contents().find('.tdw-css-writer-editor:first').val(editorValue); // Mark the content as modified // This is important for showing info when composer closes tdcMain.setContentModified(); } tdLiveCssInject.less(); }; editor.getSession().setValue(editor_textarea.val()); editor.getSession().on('change', editorChangeHandler); editor.setTheme("ace/theme/textmate"); editor.setShowPrintMargin(false); editor.getSession().setMode("ace/mode/less"); editor.setOptions({ enableBasicAutocompletion: true, enableSnippets: true, enableLiveAutocompletion: false }); } }); </script>]]>