fbpx

The Ultimate Guide to the World of Juicing

Discover the secrets to juicing success with our comprehensive guide! From selecting the best produce to creating delicious recipes, this article will help you navigate the world of juicing like a pro.

Transform Your Life with Positive Thinking

Discover the incredible impact of positive thinking on your life and learn how to harness its power to transform your mindset, relationships, and overall well-being.

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