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

Sites Pertecentes a (o) RN

Endereço Nota Erros Avisos

www.jucurutu.rn.gov.br/author/admin/

76.8 162 164
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 4 931 931 931 1103
1.1.4 Presença de CSS(s) interno 3 36 166 575
1.1.6 Presença de javascript(s) interno 13 23 28 58 63 553 1038 1045 1051 1057 1065 1072 1110 1126
931 <![CDATA[<img width="1268" height="676" src="//i3.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic.png" class="image wp-image-615 attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="//i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic.png 1268w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic-300x160.png 300w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic-768x409.png 768w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic-1024x546.png 1024w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic-696x371.png 696w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic-1068x569.png 1068w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/05/00-esic-788x420.png 788w" sizes="(max-width: 1268px) 100vw, 1268px" />]]>
931 <![CDATA[<img width="1740" height="444" src="//i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia.png" class="image wp-image-365 attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="//i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia.png 1740w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia-300x77.png 300w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia-768x196.png 768w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia-1024x261.png 1024w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia-696x178.png 696w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia-1068x273.png 1068w, //i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/transparencia-1646x420.png 1646w" sizes="(max-width: 1740px) 100vw, 1740px" />]]>
931 <![CDATA[<img width="1740" height="444" src="//i0.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria.png" class="image wp-image-363 attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="//i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria.png 1740w, //i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria-300x77.png 300w, //i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria-768x196.png 768w, //i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria-1024x261.png 1024w, //i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria-696x178.png 696w, //i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria-1068x273.png 1068w, //i2.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/ouvidoria-1646x420.png 1646w" sizes="(max-width: 1740px) 100vw, 1740px" />]]>
1103 <![CDATA[<div id="tdw-css-writer" style="display: none" class="tdw-drag-dialog tdc-window-sidebar"> <header> <a title="Editor" class="tdw-tab tdc-tab-active" href="#" data-tab-content="tdw-tab-editor">Edit with Live CSS</a> <div class="tdw-less-info" title="This will be red when errors are detected in your CSS and LESS"></div> </header> <div class="tdw-content"> <div class="tdw-tabs-content tdw-tab-editor tdc-tab-content-active"> <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> <textarea class="tdw-css-writer-editor td_live_css_uid_1_6295aa875d652"></textarea> <div id="td_live_css_uid_1_6295aa875d652" class="td-code-editor"></div> <script> jQuery(window).load(function (){ if ( 'undefined' !== typeof tdLiveCssInject ) { tdLiveCssInject.init(); var editor_textarea = jQuery('.td_live_css_uid_1_6295aa875d652'); 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_6295aa875d652"); // '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> </div> </div> <footer> <a href="#" class="tdw-save-css">Save</a> <div class="tdw-more-info-text">Write CSS OR LESS and hit save. CTRL + SPACE for auto-complete.</div> <div class="tdw-resize"></div> </footer> </div>]]>
36 <![CDATA[<style id='global-styles-inline-css' type='text/css'> body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--duotone--dark-grayscale: url('#wp-duotone-dark-grayscale');--wp--preset--duotone--grayscale: url('#wp-duotone-grayscale');--wp--preset--duotone--purple-yellow: url('#wp-duotone-purple-yellow');--wp--preset--duotone--blue-red: url('#wp-duotone-blue-red');--wp--preset--duotone--midnight: url('#wp-duotone-midnight');--wp--preset--duotone--magenta-yellow: url('#wp-duotone-magenta-yellow');--wp--preset--duotone--purple-green: url('#wp-duotone-purple-green');--wp--preset--duotone--blue-orange: url('#wp-duotone-blue-orange');--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} </style>]]>
166 <![CDATA[<style> body { background-image:url("//i3.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/03/Capturar.png"); background-attachment:fixed; } .td-header-wrap .black-menu .sf-menu > .current-menu-item > a, .td-header-wrap .black-menu .sf-menu > .current-menu-ancestor > a, .td-header-wrap .black-menu .sf-menu > .current-category-ancestor > a, .td-header-wrap .black-menu .sf-menu > li > a:hover, .td-header-wrap .black-menu .sf-menu > .sfHover > a, .td-header-style-12 .td-header-menu-wrap-full, .sf-menu > .current-menu-item > a:after, .sf-menu > .current-menu-ancestor > a:after, .sf-menu > .current-category-ancestor > a:after, .sf-menu > li:hover > a:after, .sf-menu > .sfHover > a:after, .td-header-style-12 .td-affix, .header-search-wrap .td-drop-down-search:after, .header-search-wrap .td-drop-down-search .btn:hover, input[type=submit]:hover, .td-read-more a, .td-post-category:hover, .td-grid-style-1.td-hover-1 .td-big-grid-post:hover .td-post-category, .td-grid-style-5.td-hover-1 .td-big-grid-post:hover .td-post-category, .td_top_authors .td-active .td-author-post-count, .td_top_authors .td-active .td-author-comments-count, .td_top_authors .td_mod_wrap:hover .td-author-post-count, .td_top_authors .td_mod_wrap:hover .td-author-comments-count, .td-404-sub-sub-title a:hover, .td-search-form-widget .wpb_button:hover, .td-rating-bar-wrap div, .td_category_template_3 .td-current-sub-category, .dropcap, .td_wrapper_video_playlist .td_video_controls_playlist_wrapper, .wpb_default, .wpb_default:hover, .td-left-smart-list:hover, .td-right-smart-list:hover, .woocommerce-checkout .woocommerce input.button:hover, .woocommerce-page .woocommerce a.button:hover, .woocommerce-account div.woocommerce .button:hover, #bbpress-forums button:hover, .bbp_widget_login .button:hover, .td-footer-wrapper .td-post-category, .td-footer-wrapper .widget_product_search input[type="submit"]:hover, .woocommerce .product a.button:hover, .woocommerce .product #respond input#submit:hover, .woocommerce .checkout input#place_order:hover, .woocommerce .woocommerce.widget .button:hover, .single-product .product .summary .cart .button:hover, .woocommerce-cart .woocommerce table.cart .button:hover, .woocommerce-cart .woocommerce .shipping-calculator-form .button:hover, .td-next-prev-wrap a:hover, .td-load-more-wrap a:hover, .td-post-small-box a:hover, .page-nav .current, .page-nav:first-child > div, .td_category_template_8 .td-category-header .td-category a.td-current-sub-category, .td_category_template_4 .td-category-siblings .td-category a:hover, #bbpress-forums .bbp-pagination .current, #bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a, .td-theme-slider:hover .slide-meta-cat a, a.vc_btn-black:hover, .td-trending-now-wrapper:hover .td-trending-now-title, .td-scroll-up, .td-smart-list-button:hover, .td-weather-information:before, .td-weather-week:before, .td_block_exchange .td-exchange-header:before, .td_block_big_grid_9.td-grid-style-1 .td-post-category, .td_block_big_grid_9.td-grid-style-5 .td-post-category, .td-grid-style-6.td-hover-1 .td-module-thumb:after, .td-pulldown-syle-2 .td-subcat-dropdown ul:after, .td_block_template_9 .td-block-title:after, .td_block_template_15 .td-block-title:before, div.wpforms-container .wpforms-form div.wpforms-submit-container button[type=submit] { background-color: #4ac5db; } .global-block-template-4 .td-related-title .td-cur-simple-item:before { border-color: #4ac5db transparent transparent transparent !important; } .woocommerce .woocommerce-message .button:hover, .woocommerce .woocommerce-error .button:hover, .woocommerce .woocommerce-info .button:hover, .global-block-template-4 .td-related-title .td-cur-simple-item, .global-block-template-3 .td-related-title .td-cur-simple-item, .global-block-template-9 .td-related-title:after { background-color: #4ac5db !important; } .woocommerce .product .onsale, .woocommerce.widget .ui-slider .ui-slider-handle { background: none #4ac5db; } .woocommerce.widget.widget_layered_nav_filters ul li a { background: none repeat scroll 0 0 #4ac5db !important; } a, cite a:hover, .td_mega_menu_sub_cats .cur-sub-cat, .td-mega-span h3 a:hover, .td_mod_mega_menu:hover .entry-title a, .header-search-wrap .result-msg a:hover, .td-header-top-menu .td-drop-down-search .td_module_wrap:hover .entry-title a, .td-header-top-menu .td-icon-search:hover, .td-header-wrap .result-msg a:hover, .top-header-menu li a:hover, .top-header-menu .current-menu-item > a, .top-header-menu .current-menu-ancestor > a, .top-header-menu .current-category-ancestor > a, .td-social-icon-wrap > a:hover, .td-header-sp-top-widget .td-social-icon-wrap a:hover, .td-page-content blockquote p, .td-post-content blockquote p, .mce-content-body blockquote p, .comment-content blockquote p, .wpb_text_column blockquote p, .td_block_text_with_title blockquote p, .td_module_wrap:hover .entry-title a, .td-subcat-filter .td-subcat-list a:hover, .td-subcat-filter .td-subcat-dropdown a:hover, .td_quote_on_blocks, .dropcap2, .dropcap3, .td_top_authors .td-active .td-authors-name a, .td_top_authors .td_mod_wrap:hover .td-authors-name a, .td-post-next-prev-content a:hover, .author-box-wrap .td-author-social a:hover, .td-author-name a:hover, .td-author-url a:hover, .td_mod_related_posts:hover h3 > a, .td-post-template-11 .td-related-title .td-related-left:hover, .td-post-template-11 .td-related-title .td-related-right:hover, .td-post-template-11 .td-related-title .td-cur-simple-item, .td-post-template-11 .td_block_related_posts .td-next-prev-wrap a:hover, .comment-reply-link:hover, .logged-in-as a:hover, #cancel-comment-reply-link:hover, .td-search-query, .td-category-header .td-pulldown-category-filter-link:hover, .td-category-siblings .td-subcat-dropdown a:hover, .td-category-siblings .td-subcat-dropdown a.td-current-sub-category, .widget a:hover, .td_wp_recentcomments a:hover, .archive .widget_archive .current, .archive .widget_archive .current a, .widget_calendar tfoot a:hover, .woocommerce a.added_to_cart:hover, .woocommerce-account .woocommerce-MyAccount-navigation a:hover, #bbpress-forums li.bbp-header .bbp-reply-content span a:hover, #bbpress-forums .bbp-forum-freshness a:hover, #bbpress-forums .bbp-topic-freshness a:hover, #bbpress-forums .bbp-forums-list li a:hover, #bbpress-forums .bbp-forum-title:hover, #bbpress-forums .bbp-topic-permalink:hover, #bbpress-forums .bbp-topic-started-by a:hover, #bbpress-forums .bbp-topic-started-in a:hover, #bbpress-forums .bbp-body .super-sticky li.bbp-topic-title .bbp-topic-permalink, #bbpress-forums .bbp-body .sticky li.bbp-topic-title .bbp-topic-permalink, .widget_display_replies .bbp-author-name, .widget_display_topics .bbp-author-name, .footer-text-wrap .footer-email-wrap a, .td-subfooter-menu li a:hover, .footer-social-wrap a:hover, a.vc_btn-black:hover, .td-smart-list-dropdown-wrap .td-smart-list-button:hover, .td_module_17 .td-read-more a:hover, .td_module_18 .td-read-more a:hover, .td_module_19 .td-post-author-name a:hover, .td-instagram-user a, .td-pulldown-syle-2 .td-subcat-dropdown:hover .td-subcat-more span, .td-pulldown-syle-2 .td-subcat-dropdown:hover .td-subcat-more i, .td-pulldown-syle-3 .td-subcat-dropdown:hover .td-subcat-more span, .td-pulldown-syle-3 .td-subcat-dropdown:hover .td-subcat-more i, .td-block-title-wrap .td-wrapper-pulldown-filter .td-pulldown-filter-display-option:hover, .td-block-title-wrap .td-wrapper-pulldown-filter .td-pulldown-filter-display-option:hover i, .td-block-title-wrap .td-wrapper-pulldown-filter .td-pulldown-filter-link:hover, .td-block-title-wrap .td-wrapper-pulldown-filter .td-pulldown-filter-item .td-cur-simple-item, .global-block-template-2 .td-related-title .td-cur-simple-item, .global-block-template-5 .td-related-title .td-cur-simple-item, .global-block-template-6 .td-related-title .td-cur-simple-item, .global-block-template-7 .td-related-title .td-cur-simple-item, .global-block-template-8 .td-related-title .td-cur-simple-item, .global-block-template-9 .td-related-title .td-cur-simple-item, .global-block-template-10 .td-related-title .td-cur-simple-item, .global-block-template-11 .td-related-title .td-cur-simple-item, .global-block-template-12 .td-related-title .td-cur-simple-item, .global-block-template-13 .td-related-title .td-cur-simple-item, .global-block-template-14 .td-related-title .td-cur-simple-item, .global-block-template-15 .td-related-title .td-cur-simple-item, .global-block-template-16 .td-related-title .td-cur-simple-item, .global-block-template-17 .td-related-title .td-cur-simple-item, .td-theme-wrap .sf-menu ul .td-menu-item > a:hover, .td-theme-wrap .sf-menu ul .sfHover > a, .td-theme-wrap .sf-menu ul .current-menu-ancestor > a, .td-theme-wrap .sf-menu ul .current-category-ancestor > a, .td-theme-wrap .sf-menu ul .current-menu-item > a, .td_outlined_btn { color: #4ac5db; } a.vc_btn-black.vc_btn_square_outlined:hover, a.vc_btn-black.vc_btn_outlined:hover, .td-mega-menu-page .wpb_content_element ul li a:hover, .td-theme-wrap .td-aj-search-results .td_module_wrap:hover .entry-title a, .td-theme-wrap .header-search-wrap .result-msg a:hover { color: #4ac5db !important; } .td-next-prev-wrap a:hover, .td-load-more-wrap a:hover, .td-post-small-box a:hover, .page-nav .current, .page-nav:first-child > div, .td_category_template_8 .td-category-header .td-category a.td-current-sub-category, .td_category_template_4 .td-category-siblings .td-category a:hover, #bbpress-forums .bbp-pagination .current, .post .td_quote_box, .page .td_quote_box, a.vc_btn-black:hover, .td_block_template_5 .td-block-title > *, .td_outlined_btn { border-color: #4ac5db; } .td_wrapper_video_playlist .td_video_currently_playing:after { border-color: #4ac5db !important; } .header-search-wrap .td-drop-down-search:before { border-color: transparent transparent #4ac5db transparent; } .block-title > span, .block-title > a, .block-title > label, .widgettitle, .widgettitle:after, .td-trending-now-title, .td-trending-now-wrapper:hover .td-trending-now-title, .wpb_tabs li.ui-tabs-active a, .wpb_tabs li:hover a, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab.vc_active > a, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab:hover > a, .td_block_template_1 .td-related-title .td-cur-simple-item, .woocommerce .product .products h2:not(.woocommerce-loop-product__title), .td-subcat-filter .td-subcat-dropdown:hover .td-subcat-more, .td_3D_btn, .td_shadow_btn, .td_default_btn, .td_round_btn, .td_outlined_btn:hover { background-color: #4ac5db; } .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background-color: #4ac5db !important; } .block-title, .td_block_template_1 .td-related-title, .wpb_tabs .wpb_tabs_nav, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container, .woocommerce div.product .woocommerce-tabs ul.tabs:before { border-color: #4ac5db; } .td_block_wrap .td-subcat-item a.td-cur-simple-item { color: #4ac5db; } .td-grid-style-4 .entry-title { background-color: rgba(74, 197, 219, 0.7); } .block-title > span, .block-title > span > a, .block-title > a, .block-title > label, .widgettitle, .widgettitle:after, .td-trending-now-title, .td-trending-now-wrapper:hover .td-trending-now-title, .wpb_tabs li.ui-tabs-active a, .wpb_tabs li:hover a, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab.vc_active > a, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container .vc_tta-tab:hover > a, .td_block_template_1 .td-related-title .td-cur-simple-item, .woocommerce .product .products h2:not(.woocommerce-loop-product__title), .td-subcat-filter .td-subcat-dropdown:hover .td-subcat-more, .td-weather-information:before, .td-weather-week:before, .td_block_exchange .td-exchange-header:before, .td-theme-wrap .td_block_template_3 .td-block-title > *, .td-theme-wrap .td_block_template_4 .td-block-title > *, .td-theme-wrap .td_block_template_7 .td-block-title > *, .td-theme-wrap .td_block_template_9 .td-block-title:after, .td-theme-wrap .td_block_template_10 .td-block-title::before, .td-theme-wrap .td_block_template_11 .td-block-title::before, .td-theme-wrap .td_block_template_11 .td-block-title::after, .td-theme-wrap .td_block_template_14 .td-block-title, .td-theme-wrap .td_block_template_15 .td-block-title:before, .td-theme-wrap .td_block_template_17 .td-block-title:before { background-color: #222222; } .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background-color: #222222 !important; } .block-title, .td_block_template_1 .td-related-title, .wpb_tabs .wpb_tabs_nav, .vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic .vc_tta-tabs-container, .woocommerce div.product .woocommerce-tabs ul.tabs:before, .td-theme-wrap .td_block_template_5 .td-block-title > *, .td-theme-wrap .td_block_template_17 .td-block-title, .td-theme-wrap .td_block_template_17 .td-block-title::before { border-color: #222222; } .td-theme-wrap .td_block_template_4 .td-block-title > *:before, .td-theme-wrap .td_block_template_17 .td-block-title::after { border-color: #222222 transparent transparent transparent; } .td-menu-background:before, .td-search-background:before { background: rgba(0,0,0,0.8); background: -moz-linear-gradient(top, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.8)), color-stop(100%, rgba(74,197,219,0.8))); background: -webkit-linear-gradient(top, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: -o-linear-gradient(top, rgba(0,0,0,0.8) 0%, @mobileu_gradient_two_mob 100%); background: -ms-linear-gradient(top, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.8)', endColorstr='rgba(74,197,219,0.8)', GradientType=0 ); } .td-mobile-content .current-menu-item > a, .td-mobile-content .current-menu-ancestor > a, .td-mobile-content .current-category-ancestor > a, #td-mobile-nav .td-menu-login-section a:hover, #td-mobile-nav .td-register-section a:hover, #td-mobile-nav .td-menu-socials-wrap a:hover i, .td-search-close a:hover i { color: #4ac5db; } .white-popup-block:after { background: rgba(0,0,0,0.8); background: -moz-linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(0,0,0,0.8)), color-stop(100%, rgba(74,197,219,0.8))); background: -webkit-linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: -o-linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: -ms-linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(74,197,219,0.8) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(0,0,0,0.8)', endColorstr='rgba(74,197,219,0.8)', GradientType=0 ); } .td-header-bg:before { background-size: contain; } .td-footer-wrapper::before { background-image: url('//i3.wp.com/www.jucurutu.rn.gov.br/wp-content/uploads/2018/04/cropped-blue_back.jpg'); } .td-footer-wrapper::before { background-repeat: repeat; } .td-footer-wrapper::before { opacity: 0.3; } .td-menu-background, .td-search-background { background-image: url('http://localhost/prefeiturajucurutu/wp-content/uploads/2018/03/14.jpg'); } .white-popup-block:before { background-image: url('http://localhost/prefeiturajucurutu/wp-content/uploads/2018/03/14.jpg'); } .top-header-menu > li > a, .td-weather-top-widget .td-weather-now .td-big-degrees, .td-weather-top-widget .td-weather-header .td-weather-city, .td-header-sp-top-menu .td_data_time { font-size:15px; } ul.sf-menu > .td-menu-item > a, .td-theme-wrap .td-header-menu-social { font-size:12px; } .sf-menu ul .td-menu-item a { font-size:12px; } .td-excerpt, .td_module_14 .td-excerpt { font-family:"Open Sans"; font-size:13px; line-height:21px; } .td-post-content p, .td-post-content { font-family:"Open Sans"; font-size:17px; line-height:31px; } </style>]]>
575 <![CDATA[<style id="tdw-css-placeholder"></style>]]>
23 <![CDATA[<script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.jucurutu.rn.gov.br/#organization","name":"Prefeitura Municipal de Jucurutu / RN","url":"https://www.jucurutu.rn.gov.br/","sameAs":["https://www.instagram.com/municipiojucurutu/","https://www.youtube.com/channel/UC_KE3vT5we3CeSBYZF7a76g","https://www.facebook.com/gabineteciviljucuruturn/","https://twitter.com/MJucurutu"],"logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https://www.jucurutu.rn.gov.br/#/schema/logo/image/","url":"http://www.jucurutu.rn.gov.br/wp-content/uploads/2018/07/LOGO2.png","contentUrl":"http://www.jucurutu.rn.gov.br/wp-content/uploads/2018/07/LOGO2.png","width":621,"height":563,"caption":"Prefeitura Municipal de Jucurutu / RN"},"image":{"@id":"https://www.jucurutu.rn.gov.br/#/schema/logo/image/"}},{"@type":"WebSite","@id":"https://www.jucurutu.rn.gov.br/#website","url":"https://www.jucurutu.rn.gov.br/","name":"Prefeitura Municipal de Jucurutu","description":"Portal da PMJ","publisher":{"@id":"https://www.jucurutu.rn.gov.br/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://www.jucurutu.rn.gov.br/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-BR"},{"@type":"ProfilePage","@id":"https://www.jucurutu.rn.gov.br/author/admin/#webpage","url":"https://www.jucurutu.rn.gov.br/author/admin/","name":"admin, Autor em Prefeitura Municipal de Jucurutu","isPartOf":{"@id":"https://www.jucurutu.rn.gov.br/#website"},"breadcrumb":{"@id":"https://www.jucurutu.rn.gov.br/author/admin/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https://www.jucurutu.rn.gov.br/author/admin/"]}]},{"@type":"BreadcrumbList","@id":"https://www.jucurutu.rn.gov.br/author/admin/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Início","item":"https://www.jucurutu.rn.gov.br/"},{"@type":"ListItem","position":2,"name":"Arquivos para admin"}]},{"@type":"Person","@id":"https://www.jucurutu.rn.gov.br/#/schema/person/99766b1d61c7450e7b7bec773168d1e7","name":"admin","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https://www.jucurutu.rn.gov.br/#/schema/person/image/","url":"https://secure.gravatar.com/avatar/e1f5fdfe0e186cb6d23b8a4c82443bea?s=96&d=mm&r=g","contentUrl":"https://secure.gravatar.com/avatar/e1f5fdfe0e186cb6d23b8a4c82443bea?s=96&d=mm&r=g","caption":"admin"},"mainEntityOfPage":{"@id":"https://www.jucurutu.rn.gov.br/author/admin/#webpage"}}]}</script>]]>
28 <![CDATA[<script> var MP3jPLAYLISTS = []; var MP3jPLAYERS = []; </script>]]>
58 <![CDATA[<script> window.tdwGlobal = {"adminUrl":"https:\/\/www.jucurutu.rn.gov.br\/wp-admin\/","wpRestNonce":"8dcb65a6aa","wpRestUrl":"https:\/\/www.jucurutu.rn.gov.br\/wp-json\/","permalinkStructure":"\/%postname%\/"}; </script>]]>
63 <![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 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="https:\/\/www.jucurutu.rn.gov.br\/wp-admin\/admin-ajax.php?td_theme_name=Newspaper&v=8.7.2"; var td_get_template_directory_uri="https:\/\/www.jucurutu.rn.gov.br\/wp-content\/themes\/Newspaper"; var tds_snap_menu="smart_snap_always"; var tds_logo_on_sticky=""; var tds_header_style="11"; var td_please_wait="Aguarde..."; var td_email_user_pass_incorrect="Usu\u00e1rio ou senha incorreta!"; var td_email_user_incorrect="E-mail ou nome de usu\u00e1rio incorreto!"; var td_email_incorrect="E-mail 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="#4ac5db"; 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 (tecla de seta para 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 pode ser carregado."; var td_magnific_popup_translation_image_tError="A imagem #%curr% n\u00e3o pode 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","maio","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>]]>
553 <![CDATA[<script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "item": { "@type": "WebSite", "@id": "https://www.jucurutu.rn.gov.br/", "name": "Início" } },{ "@type": "ListItem", "position": 2, "item": { "@type": "WebPage", "@id": "https://www.jucurutu.rn.gov.br/author/admin/", "name": "Posts por admin" } } ] } </script>]]>
1038 <![CDATA[<script type='text/javascript' id='contact-form-7-js-extra'> /* <![CDATA[ */ var wpcf7 = {"api":{"root":"https:\/\/www.jucurutu.rn.gov.br\/wp-json\/","namespace":"contact-form-7\/v1"}}; /* ]]> */ </script>]]>
1045 <![CDATA[<script type='text/javascript' id='wpa-toolbar-js-extra'> /* <![CDATA[ */ var wpa = {"location":"body","is_rtl":"ltr","is_right":"left","responsive":"a11y-non-responsive","contrast":"Alternar Alto Contraste","grayscale":"Alternar Escala de Cinza","fontsize":"Alternar Tamanho da Fonte","enable_grayscale":"false","enable_fontsize":"true","enable_contrast":"true"}; /* ]]> */ </script>]]>
1051 <![CDATA[<script type='text/javascript' id='ui-a11y-js-extra'> /* <![CDATA[ */ var wpa11y = {"path":"https:\/\/www.jucurutu.rn.gov.br\/wp-content\/plugins\/wp-accessibility\/toolbar\/css\/a11y-contrast.css"}; /* ]]> */ </script>]]>
1057 <![CDATA[<script type='text/javascript' id='longdesc.button-js-extra'> /* <![CDATA[ */ var wparest = {"url":"https:\/\/www.jucurutu.rn.gov.br\/wp-json\/wp\/v2\/media","text":"<span class=\"dashicons dashicons-media-text\" aria-hidden=\"true\"><\/span><span class=\"screen-reader\">Long Description<\/span>"}; /* ]]> */ </script>]]>
1065 <![CDATA[<script type='text/javascript' id='wp-accessibility-js-extra'> /* <![CDATA[ */ var wpa = {"skiplinks":{"enabled":false,"output":""},"target":"1","tabindex":"1","underline":{"enabled":false,"target":"a"},"dir":"ltr","lang":"pt-BR"}; /* ]]> */ </script>]]>
1072 <![CDATA[<script> (function(){ var html_jquery_obj = jQuery('html'); if (html_jquery_obj.length && (html_jquery_obj.is('.ie8') || html_jquery_obj.is('.ie9'))) { var path = 'https://www.jucurutu.rn.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 = 'https://www.jucurutu.rn.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>]]>
1110 <![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>]]>
1126 <![CDATA[<script> jQuery(window).load(function (){ if ( 'undefined' !== typeof tdLiveCssInject ) { tdLiveCssInject.init(); var editor_textarea = jQuery('.td_live_css_uid_1_6295aa875d652'); 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_6295aa875d652"); // '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>]]>