3 ms·
Here's a usability enhancement: make sure you're overriding the behaviour of an <a> element which would already cause the page to scroll back up, e.g. a link to
by mfincham 14y ago
Here's a usability enhancement: make sure you're overriding the behaviour of an <a> element which would already cause the page to scroll back up, e.g. a link to a named anchor at the top of the page or to the ID of the <html> element itself.
This way if JavaScript or CSS3 animations are unavailable the usability is preserved.
- mitgux 14y agoGood point mfincham, I'll keep this in mind, Thanks!