$( document ).ready(function() {
var element = document.getElementById("js-fadeInElement-c3-title-text-button-1516313360823");
$(element).addClass('js-fade-element-hide');
$(window).scroll(function() {
if( $("#js-fadeInElement-c3-title-text-button-1516313360823").length > 0 ) {
var elementTopToPageTop = $(element).offset().top;
var windowTopToPageTop = $(window).scrollTop();
var windowInnerHeight = window.innerHeight;
var elementTopToWindowTop = elementTopToPageTop - windowTopToPageTop;
var elementTopToWindowBottom = windowInnerHeight - elementTopToWindowTop;
var distanceFromBottomToAppear = 300;
if(elementTopToWindowBottom > distanceFromBottomToAppear) {
console.log("WTF1");
$(element).addClass('js-fade-element-show');
}
else if(elementTopToWindowBottom < 0) {
console.log("WTF2");
$(element).removeClass('js-fade-element-show');
$(element).addClass('js-fade-element-hide');
}
}
});
});
NeurOptimal® Explained
ADHD & Neurofeedback
An Entire Family's Success Story
What People Are Saying After NeurOptimal®
Overcoming Chemotherapy Brain
Traumatic Brain Injury & Neurofeedback
Real Moms Tell All: Stephanie
Real Moms Tell All: Valerie
Real Moms Tell All: Chantel
Real Moms Tell All: Ann
Real Moms Tell All: Angela
What is Neurofeedback?
Autism & Neurofeedback
PTSD – Marine's Experience with Neurofeedback
Brain Scan Pre- & Post-Neurofeedback on PTSD
Addiction & Substance Abuse after Neurofeedback
Anxiety, Depression & Addiction Relief
CNN: ADHD & Anxiety
Neurofeedback & Achieving Peak Performance
Enhancing Speech Pathology