O'Reilly logo

Pro HTML5 Performance by Mike Jones, Jay Bryant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required