Gift Card
-20 && top < 61 && prevOffset < window.pageYOffset || prevOffset > window.pageYOffset && bottomDiv > 0 && top < 60 ){offset += prevOffset - window.pageYOffset };
if(window.pageYOffset < initialPosition){offset = 60};
if(offset > 90){offset = 90};
top = $refs.quicklinks.offsetTop - window.pageYOffset;
prevOffset = window.pageYOffset;
bottom = $refs.quicklinks.offsetTop - window.pageYOffset + $refs.quicklinks.offsetHeight - this.innerHeight
bottomDiv = $refs.rightDiv.offsetTop - window.pageYOffset + $refs.rightDiv.offsetHeight - this.innerHeight;
$inView = Array.from(document.querySelectorAll('.in-view')); $buttons = Array.from(document.querySelectorAll('.quick-button')) ;$buttons.forEach(element => element.classList.remove('font-semibold','text-primary')); if($inView.length > 0) $inView[$inView.length - 1].classList.add('font-semibold','text-primary')"
:class="headings[0] ? '' : '!hidden'">
Quick links