Company name Copyright © 2022  | Powered by Agency name

The speed in the editor is different from the front end.

The effect will not be complete in the editor because the js is only executed in the front end.

Important watch the tutorial: https://youtu.be/ZHHJLM2u9-0

<script>
const textLists = document.querySelectorAll('.fb-infinite-h__list');

textLists.forEach(textList => {
  const originalItems = textList.children;
  const totalItems = originalItems.length;

  /* Clone items */
  for (let i = 0; i < totalItems; i++) {
    const clone = originalItems[i].cloneNode(true);
    textList.appendChild(clone);
  }

  /* If you have very few items, clone again */
  for (let i = 0; i < totalItems; i++) {
    const clone = originalItems[i].cloneNode(true);
    textList.appendChild(clone);
  }

  for (let i = 0; i < totalItems; i++) {
    const clone = originalItems[i].cloneNode(true);
    textList.appendChild(clone);
  }
});
</script>
Để lại thông tin

Trải nghiệm ngay!

Đặt lịch thăm khám cùng Mắt Ánh Sáng

Ngày

Thời gian làm việc: Từ thứ 2 đến Chủ nhật. Sáng 7h30-12h, Chiều 13h30-17h