The Table of Contents feature is very well done—better than GW’s, I think. (I expect we’ll take inspiration from this for future modifications to our version of the ToC feature, in fact.) Kudos, guys!
(A quibble, and quite a minor one: the animated scroll-to-section is rather too slow for my taste. I’d prefer it scroll to the clicked section at least twice as quickly.)
the animated scroll-to-section is rather too slow for my taste
I agree. The catch is, the browser API we’re using (window.scrollTo) doesn’t have a speed option, so we have to either live with its choice of speed, or implement the animation ourselves.
The Table of Contents feature is very well done—better than GW’s, I think. (I expect we’ll take inspiration from this for future modifications to our version of the ToC feature, in fact.) Kudos, guys!
(A quibble, and quite a minor one: the animated scroll-to-section is rather too slow for my taste. I’d prefer it scroll to the clicked section at least twice as quickly.)
I agree. The catch is, the browser API we’re using (
window.scrollTo
) doesn’t have a speed option, so we have to either live with its choice of speed, or implement the animation ourselves.