120){
if(document.documentElement.scrollTop >= (document.querySelector('.section-content').clientHeight - 800)){
var h = document.querySelector('.section-content').clientHeight - 800;
document.querySelector('.desktop .toc').style.top = h+'px';
document.querySelector('.desktop .toc').style.position = 'absolute';
document.querySelector('.desktop .toc').style.width = '306px';
} else {
document.querySelector('.desktop .toc').style.top = '105px'
document.querySelector('.desktop .toc').style.position = 'fixed';
document.querySelector('.desktop .toc').style.width = 'auto';
}
} else {
document.querySelector('.desktop .toc').style.top = 'auto';
}
">
Daftar Isi
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h2.h21').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h2.h21').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h2.h21').classList.add('active');
">Menu Starbucks Minuman Kopi (Espresso & coffee-based drink)
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h30').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h30').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h30').classList.add('active');
">1. Caramel Macchiato
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h31').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h31').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h31').classList.add('active');
">2. Vanilla Sweet Cream Cold Brew
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h32').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h32').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h32').classList.add('active');
">3. Java Chip Frappuccino
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h33').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h33').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h33').classList.add('active');
">4. Asian Dolce Latte
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h34').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h34').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h34').classList.add('active');
">5. Caffe Americano
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h2.h22').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h2.h22').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h2.h22').classList.add('active');
">Menu Starbucks Minuman Non-kopi (Milk & Tea-Based Drink)
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h30').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h30').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h30').classList.add('active');
">6. Vanilla Cream Frappuccino
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h31').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h31').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h31').classList.add('active');
">7. Green Tea Latte
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h32').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h32').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h32').classList.add('active');
">8. Iced Shaken Hibiscus Tea with Lemonade
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h33').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h33').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h33').classList.add('active');
">9. Signature Chocolate
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h22h34').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h22h34').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h22h34').classList.add('active');
">10. Raspberry Blackcurrant â Mango Passion Juice