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

Time for action - using widgets

We're now going to create our first themeable jQuery UI interface. It will be a simple one at that— a button widget, when clicked, displays a dialog widget:

  1. Create a new index.html file with the following content:
    <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Hello Dialog</title> <link href="http://jqueryui/css/ui-lightness/jquery-ui-1.8.x.custom.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="jqueryui/js/jquery-1.5.x.min.js"></script> <script type="text/javascript" src="jqueryui/js/jquery-ui-1.8.x.custom.min.js"></script>11 <script type="text/javascript" src="index.js"></script> </head> <body style="font-size: 10px;"> <button id="btn_hello">Say Hello</button> <div id="dlg_hello">Hello ...

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