find your perfect Beatitude blend
Do you need a blend to support you?
accordions_header_toggle = "no";
accordions_click_track = "no";
jQuery(document).ready(function($){
wizard_accordion = $("#accordions-4704.accordions .items").accordion({
event: "click",
collapsible:true,
heightStyle: "content",
animate: ("linear", 1000),
navigation: true,
active: 999999,
changestart: function(event, ui) {
child.accordion("activate", false);
}
});
var child = $(".child-accordion .items").accordion({
active:true,
heightStyle: "content",
collapsible: true,
animated: "swing",
});
$(".previous, .next").click(function () {
var index = 0;
console.log("gCurrentIndex:"+gCurrentIndex);
console.log("index:"+index);
if ($(this).hasClass("next")) {
index = gCurrentIndex + 1;
if (index > ACCORDION_PANEL_COUNT ) {
index = ACCORDION_PANEL_COUNT;
}
}
else {
index = gCurrentIndex - 1;
if (index < 0) {
index = 0;
}
}
wizard_accordion.accordion("option", "active", index);
});
})
jQuery(document).ready(function($){
$("#accordions-4704 .expand-collapse").click(function() {
if( $(this).hasClass("active") ) $(this).removeClass("active");
else $(this).addClass("active");
accordion_id = $(this).attr("accordion-id");
$("#accordions-"+accordion_id+" .ui-accordion-header:not(.ui-state-active)").next().slideToggle();
});
$("#accordions-4704 .accordions-head").click(function () {
toogle_text = $(this).attr('toogle-text');
main_text = $(this).attr('main-text');
if(accordions_header_toggle=='yes'){
if( $(this).hasClass('ui-state-active') ){
if( main_text != null && main_text != ''){
$(this).children('.accordions-head-title').html(main_text);
}
} else {
if( toogle_text != null && toogle_text != ''){
$(this).children('.accordions-head-title').html(toogle_text);
}
}
id = $(this).attr( 'id' );
}
if(accordions_click_track=='yes'){
header_id = $(this).attr('header_id');
post_id = $(this).attr('post_id');
$.ajax({
type: 'POST',
context: this,
url:accordions_ajax.accordions_ajaxurl,
data: {
"action" : "accordions_ajax_track_header",
"header_id" : header_id,
"post_id" : post_id,
},
success: function( data ) {
} });
}
});
})
#accordions-4704 {
text-align: center;
}
#accordions-4704{
background:#ffffff url() repeat scroll 0 0;
padding: 0;
}
#accordions-4704 .accordions-head{
background:rgba(255,255,255, 1) none repeat scroll 0 0;
margin:1px;
padding:10px;
}
#accordions-4704 .accordions-head-title{
color:#59534c;
font-size:20px;
font-family:;
}
#accordions-4704 .accordions-head-title-toogle{
color:#59534c;
font-size:20px;
}
#accordions-4704 .accordions-head:hover .accordions-head-title{
color:#59534c;
}
#accordions-4704 .ui-state-active{
background: #ffffff;
}
#accordions-4704 .accordion-content{
background:rgba(255,255,255,1) none repeat scroll 0 0;
color:#59534c;
font-size:13px;
font-family:;
margin:0;
padding:10px;
}
#accordions-4704 .accordion-icons{
color:#000000;
font-size:16px;
padding:0px;
background: ;
}
#accordions-4704 .accordions-head:hover .accordion-icons{
color:#000000;
}
#accordions-4704 .expand-collapse{
}
@media screen and (min-width: 1200px) {
#accordions-4704 {
width: 100%;
}
}
@media screen and (max-width:1199px) and (min-width: 768px) {
#accordions-4704 {
width: 100%;
}
}
@media screen and (max-width: 767px) {
#accordions-4704 {
width: 100%;
}
}
jQuery(document).ready(function($){
jQuery(document).on('keyup', '#search-input-4704 input.search-input', function(){
keyword = jQuery(this).val().toLowerCase();
content_head = [];
content_body = [];
$('#accordions-4704 .items .accordions-head-title').each(function( index ) {
content = $( this ).text().toLowerCase();
content_head[index] = content;
$( this ).parent().removeClass("accordion-header-active");
$( this ).parent().removeClass("ui-state-active");
});
$('#accordions-4704 .items .accordion-content').each(function( index ) {
$( this ).hide();
content = $( this ).text().toLowerCase();
content_body[index] = content + ' ' + content_head[index];
n = content_body[index].indexOf(keyword);
if(n<0){
$( this ).prev().hide();
}else{
$( this ).prev().show();
}
});
})
})
feeling flat or lacking in energy
ease everyday aches and strains
for sleep and relaxation