Re: Table of contents added to pages, yay!

Thank you, Lea!


From: Alex Komoroske <<>>
Date: Thursday, May 9, 2013 5:05 PM
To: Lea Verou <<>>
Cc: "<>" <<>>
Subject: Re: Table of contents added to pages, yay!
Resent-From: <<>>
Resent-Date: Thursday, May 9, 2013 5:06 PM

Awesome, looks great!

On Thu, May 9, 2013 at 5:01 PM, Lea Verou <<>> wrote:
Hi all,

I recently came up with the idea of having a client-side generated Table Of Contents (TOC). In coordination with Doug, I wrote a script to generate it and deployed it to WPD. This has the benefit of being smaller (1.5KB) than a server-side TOC and cachable and most importantly, it solved the issues we had with the headings. Hope you like it.

We had to remove the width: 100%; from tables to avoid them being pushed down by the TOC, so please keep an eye out for table rendering issues.

Here you can see an example:

This was a long outstanding bug, so ití»s exciting to finally have solved it!


Lea Verou
W3C developer relations ? ? @leaverou

Received on Friday, 10 May 2013 00:09:11 UTC