/* Load jQuery. --------------------------*/ jQuery(document).ready(function ($) { Drupal.behaviors.nodeTabs = { attach: function (context, settings) { // your custom javascript goes inside this function... function openCity(cityName) { var i; var x = document.getElementsByClassName("city"); for (i = 0; i < x.length; i++) { x[i].style.display = "none"; } document.getElementById(cityName).style.display = "block"; } } }; // Homepage blocks $(".region-content-home-top .block, .region-content-home-bottom .block").wrapInner( '
' ); /* $('.accordion_block').accordionjs({ activeIndex: false, }); */ $(".views-field-search-api-rendered-item span").each(function() { var html = $(this).html(); html = html.replace(". . ", ". "); $(this).html(html); }); //$('.views-field-search-api-rendered-item:contains(". . ")').text('. '); // $('p:contains("dogsss")').text('dollsss'); /* End document --------------------------*/ });