O'Reilly logo

jQuery UI Themes Beginner's Guide by Adam Boduch

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

Chapter 9. Theming Custom Widgets

Themes aren't limited to the widgets that ship with jQuery UI. You'll often find yourself wanting to create your own widgets that fit a particular use case. These new widgets have to look like they fit in the theme otherwise they'll look out of place.

In this chapter we shall:

  • Create a custom widget
  • Make our custom widget theme-ready
  • Look at reusing core widget themes

So let's get on with it.

What are custom widgets?

The jQuery UI JavaScript toolkit comes with several widgets. The goal of this book is to understand the CSS theme framework that comes with jQuery UI. To fully understand the theme framework, we need a working knowledge of the widget framework. This is because we're eventually going to be creating themes ...

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