fbpx
logo

Staying Active with Your Grandchildren

Staying active with your grandchildren has numerous benefits that span across physical, cognitive, emotional, and even social aspects of your well-being. Embracing an active lifestyle and spending quality time with your little ones can greatly enhance your overall health and happiness. In this article, we will explore the advantages of active grandparenting and provide you […]

The Ultimate Guide to Babyproofing Your Home

Having a safe and secure environment is crucial when you have a little one roaming around. Babyproofing your home is an essential step in protecting your child from potential hazards. In this comprehensive guide, we will explore the various measures needed to ensure your home is baby-friendly and accident-free. If you start searching the options […]

Featured posts

© 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' }); } }); } });