C H A P T E R  17

images

Tab Control

We’ve all seen lots of tabs on the web. Some of them are OK. Some stink. Naturally, we want to make a tab control that doesn’t stink (and that’s hopefully better than just OK), so that we can re-use it for all kinds of content while being sure it looks good and works well.

One way in which tabs on web sites often stink is that they don’t track a visitor’s location. Ever gone to a page, navigated to the third tab to find what you want, gone to another site, and then come back to the site with tabs, only to find that you’re on the first tab again? We have, and we don’t like it. Worse, some tab schemes jump back to ...

Get Pro HTML5 Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.