Вопрос

I have a one page layout with sections. But, I also have a couple pages that are separate from the main page. I want the user experience to be seamless when they navigate from the main page, to the satellite pages, and back. I can link_to the anchor tag, but then I end up with the anchor in the url... I want a route to handle it so that the anchor is not in the url...

Is there a way to build a route that will go to an anchor tag?

Нет правильного решения

Другие советы

AFAIK anchors are thrown away by the web-server. It's purely a client-side thing.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top