문제

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