theme for RDM site
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1016 B

2 years ago
/* Load jQuery.
--------------------------*/
jQuery(document).ready(function ($) {
2 years ago
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( '<div class="container"></div>' );
/* $('.accordion_block').accordionjs({
2 years ago
activeIndex: false,
});
2 years ago
*/
2 years ago
$(".views-field-search-api-rendered-item span").each(function() {
2 years ago
var html = $(this).html();
html = html.replace(". . ", ". ");
$(this).html(html);
2 years ago
});
2 years ago
//$('.views-field-search-api-rendered-item:contains(". . ")').text('. ');
2 years ago
// $('p:contains("dogsss")').text('dollsss');
2 years ago
/* End document
2 years ago
--------------------------*/
});