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');
">10 Daftar HP yang Cocok untuk Game Berat dan Harganya
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. ASUS ROG Phone 8 Pro
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. Nubia RedMagic 9 Pro+
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. iQOO 12 5G
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. Poco X6 Pro 5G
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. Xiaomi Redmi Note 11
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h35').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h35').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h35').classList.add('active');
">6. Vivo Y100 5G
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h36').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h36').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h36').classList.add('active');
">7. Tecno Camon 20 Pro
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h37').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h37').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h37').classList.add('active');
">8. Infinix Note 30 Pro
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h38').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h38').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h38').classList.add('active');
">9. Oppo Find N3
e.classList.remove('active'));
document.querySelectorAll('.toc-list__h3').forEach(e => e.classList.remove('active'));
window.scrollTo({top: document.querySelector('.content__body h3.h21h39').offsetTop , behavior: 'smooth'});
document.querySelector('.toc.desktop .toc-list__h3.h21h39').classList.add('active');
document.querySelector('.toc.mobile .toc-list__h3.h21h39').classList.add('active');
">10. Samsung Galaxy S24 Ultra
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');
">Mana HP yang Cocok untuk Game Berat Pilihanmu?