Book Image

Mastering jQuery UI

By : Vijay Joshi
Book Image

Mastering jQuery UI

By: Vijay Joshi

Overview of this book

Table of Contents (19 chapters)
Mastering jQuery UI
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Creating a Tabbed News Reader

jQuery UI offers a number of components that can be used in a variety of combinations to create rich interfaces. We saw such a combination in the previous chapter, Chapter 3, Creating a Website Tour, where we used dialog, buttons, tooltips, and other components to create a neat website tour feature.

Moving forward, let's talk about tabs. Tabs are a very useful widget for the presentation layer, that is, the user interface (UI). Most common use cases for tabbed interfaces are UIs where there is limited space. Tabs have multiple panels in which different contents can be displayed. Clicking on a tab opens its corresponding panel.

In this chapter, you will focus on tabs and dialog components and learn to integrate the reddit API with the tabs. If you are not familiar with reddit, it is a news aggregation website where all the content is submitted by the users. There are different "subreddits" created by users for different topics such as web development...