SinglePaged icon indicating copy to clipboard operation
SinglePaged copied to clipboard

Support anchors

Open koppor opened this issue 10 years ago • 5 comments

I like deep linking. Is it possible that the template also adapts the URL if sections are switched? For instance, if I click on "Usage" at http://t413.com/SinglePaged/ the link should get http://t413.com/SinglePaged/#Usage. Then, if someone else clicks that link, the page should directly jump to "Usage".

koppor avatar Dec 01 '15 15:12 koppor

It already does, the URL is http://t413.com/SinglePaged/#usage

sriharshachilakapati avatar Dec 01 '15 16:12 sriharshachilakapati

If I click on "Why", #usage does not change to #why.

koppor avatar Dec 01 '15 16:12 koppor

The position when using # in the link differs from the position when navigating with the heading.

koppor avatar Dec 07 '15 07:12 koppor

The position when using # in the link differs from the position when navigating with the navigation bar.

koppor avatar Dec 07 '15 07:12 koppor

This is a good feature idea that should be added. @sriharshachilakapati is right that this does more-or-less work already, but having the javascript jumping code handle this to a consistant position would be better.

t413 avatar Aug 04 '16 06:08 t413