Длинное мобильное меню в одну строку
Превратить меню, которое на мобилке становится вертикальным - в горизонтальное, и плавно скроллить его по мере скролла сайта по активным пунктам.

На десктопе - тоже самое. Сейчас по-умолчанию, если меню длинее чем строка - то оно переходит на вторую строку.

ВАЖНО! Обрати внимание, что активным пунктом меню нужно помечать не по ID блока, а по блоку с якорной ссылкой, типа #about, после прохождения меню над этой ссылкой.

По аналогии с https://fcongress.forbes.ru/ecology2021, мы тут это делали на MODX.

Скрипт должен привязываться к ID блока с меню.
OUR COMPANY
Bring Your Ideas to Life
Everything that you dreamed of can be brought to life exactly at the moment when you decide to win.
WONDERS
We organize dream holidays to breathtaking places all over the world. Choose one of our special destinations or suggest yours
Open your mind to new experiences
Getting things done is a process. It demands accountability and clear goals. Following through is the most valuable asset to any organization. Successful teams ask questions, evaluate the reality, and navigate toward specific solutions.
OUR COMPANY
We inspire people to run their businesses with the help of top technologies and innovative management systems
Keep your customer base in one place. Try the fastest way to communicate
Learn to create a logo in just 7 steps
A 3-day course for newbies and design students
Learn to create a logo in just 7 steps
A 3-day course for newbies and design students
Light tomorrow with today
Always celebrate small wins. Even if you failed at the beginning, it’s okay. You can always start all over again.
First modular system for web-publishing
Content-Oriented Web
Make great presentations, long-form texts, and landing pages, as well as photo stories, blogs, lookbooks, and all other kinds of content-oriented projects.
First modular system for web-publishing
Content-Oriented Web
Make great presentations, long-form texts, and landing pages, as well as photo stories, blogs, lookbooks, and all other kinds of content-oriented projects.
Made on
Tilda