Re: Fixing the TOC issues

I like it a lot better floating outside the content.  The animation seems
jerky, which is odd considering it uses CSS transitions.  Are there any
cases throughout the site in which a TOC might run so long that it might
not fully display within the vertical screen area?  If so, I suggest
accordion-style B-heads.  Also, a bug: you can keep scrolling down once
you're at the bottom of the content, with more empty space added underneath
the main content as you go.


On Fri, May 24, 2013 at 11:13 AM, Lea Verou <lea@w3.org> wrote:

> Hi everyone,
>
> As you might have noticed there are several issues with the TOC pushing
> down content with clear:both; or content overlapping it (e.g. flags).
> Yesterday I tried to solve those issues, by moving the TOC outside the
> content div (but inside the content area) and making it scroll on the free
> space to the right of the content, as the page is scrolled. Doug suggested
> I move it outside the content area entirely, so I made a quick mockup which
> you can find here [1]. It’s not perfect but it should give you a rough idea
> of how it will look.
> The issue with that is that it requires a pretty large resolution so we
> would have to move it in the content area for resolutions < 1440px wide
> anyway. Also, I don't like the contrast of the dot with the background
> colors, but this could perhaps be fixed, maybe by tweaking its design a
> bit. The problem with my original approach is that it makes the content
> narrower.
>
> Thoughts? Do you prefer this idea or do you think the TOC inside the
> content area would work better?
>
> [1]: http://docs.webplatform.org/test/css/properties/border-radius
>
> Lea Verou
> W3C developer relations
> http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou
>
>
>
>
>
>
>

Received on Friday, 24 May 2013 16:21:25 UTC