NUKnightLab / learncms

Learn.Knightlab.com CMS version
8 stars 5 forks source link

Adjust anchor link behavior so targets aren't obscured by nav #56

Open emilywithrow opened 9 years ago

JoeGermuska commented 9 years ago

if you just put id elements on things, it should probably work. If you want the system to generate IDs, then we need to figure out how you know what will get generated.

JoeGermuska commented 9 years ago

verified that it works, although the anchor ends up under the 'learn-nav' so we might need to make some systematic adjustment. Do you need more tooling than that?

emilywithrow commented 9 years ago

Works well but the nav is still hiding the anchor... prob just a quick CSS fix.

JoeGermuska commented 9 years ago

small thing: whenever possible, please include explicit instructions about how to see a problem case, so we don't have to go hunting around to reconstruct it.

JoeGermuska commented 9 years ago

So, working with this one https://learn.knightlab.com/lesson/write-some-html/#imgExplainer

I find that my first few experiments with scrollBy or padding the body don't do much, even though some web searches suggest that this is the way. I wonder if the underlying issue is with the dynamics of the page-manager ?