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.
36 lines
1016 B
36 lines
1016 B
/* 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( '<div class="container"></div>' ); |
|
|
|
/* $('.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 |
|
--------------------------*/ |
|
});
|
|
|