fbpx
couple arguing during therapy session with psychologists

Advantages of Online Couples Therapy

Discover the benefits of online couples therapy and delve into the mechanics that make it a convenient and effective option for improving relationships.

baby boy drinking milk in bed

Sleep Training Made Easy: A Beginners Guide

Discover the ultimate guide to sleep training made easy! Learn about the essential tools and techniques that will transform your bedtime routine into a peaceful and restful experience for both you and your little one.

happy young couple relaxed at home on bed

Spice Up Your Romance: Outdoor Date Ideas

Looking to add some sizzle to your summer romance? Check out these 6 exciting outdoor date ideas that will spice up your love life and create unforgettable memories with your partner.

© 2024 ALL RIGHT RESERVED ADVICE GURU
), then please use the "Add HTML Code" page, as this is a HTML code that links a JavaScript file. End of comment */ jQuery(document).ready(function( $ ){ if(jQuery(window).width()<768){ /* $(window).scroll(function(e){ var $el = $('.fixedElement'); var isPositionFixed = ($el.css('position') == 'fixed'); if ($(this).scrollTop() > 200 && !isPositionFixed){ $el.css({'position': 'fixed', 'top': '85vh'}); } if ($(this).scrollTop() < 200 && isPositionFixed){ $el.css({'position': 'static', 'top': '85vh'}); } }); */ var fixmeTop = $('.fixedElement').offset().top; $('.fixedElement').css({ position: 'fixed', top: '60vh', left: '0' }); $(window).scroll(function() { var currentScroll = $(window).scrollTop(); if (currentScroll <= fixmeTop) { $('.fixedElement').css({ position: 'fixed', top: '60vh', left: '0' }); } else { $('.fixedElement').css({ position: 'static' }); } }); } });