質問

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