Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 392 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
392
Dung lượng
8,9 MB
Nội dung
[...]... of the book, and we will do our best to address it [] Introducing jQueryUI Welcome to jQueryUI 1.7: The UserInterface Library for jQuery This resource aims to take you from your first steps to an advanced usage of the JavaScript library of UI widgets and interaction helpers built on top of the hugely popular and easy-to-use jQueryjQueryUI extends the underlying jQuerylibrary to provide a suite... interaction helpers, built to enhance the user interfaces of your websites and web applications It's the official UIlibrary for jQuery and although it is not the only library built on top of jQuery, in my opinion it is without a doubt the best jQuery has quickly become one of the most popular JavaScript libraries in use today and jQueryUI will definitely become the extension library of choice, thanks... • • • • • How to obtain a copy of thelibrary How to set up a development environment The structure of thelibrary ThemeRoller The format of the API Browser support How thelibrary is licensed Downloading thelibrary To obtain a copy of the library, we should visit the download builder at http://jqueryui.com/download, which gives us a range of different options for building a download package that is... Introducing jQueryUI Downloading thelibrary Setting up a development environment The structure of thelibrary ThemeRoller Component categories Browser support Book examples Library licensing API introduction Events and callbacks Callback arguments Summary Chapter 2: The CSS Framework The files that make up the framework ui. all.css ui. base.css ui. core.css The individual component framework files ui. theme.css... matches theUI widgets to your existing site, and is the recommended method of creating custom skins [ 15 ] Introducing jQueryUI Installing and using the new theme is as easy as selecting or creating it The Download theme button in the above screenshot takes us back to the download builder, which has the CSS and images for the new theme integrated into the download package If it's just the new theme... of grey tones The second is the smoothness theme, which we chose when building our download It is very similar to the base theme Theui folder contains the individual, uncompressed source files of each of the different components of thelibrary ThemeRoller ThemeRoller is a custom tool written with jQuery and PHP It allows us to visually produce our own custom jQueryUI theme and package it up in a... folder will be a directory that has the name of the theme we chose when building the download package Inside this is single file that contains all of the CSS, and a folder that holds all the images used by the theme We can also store the CSS files we'll be creating in the css directory The js folder contains minified versions of jQuery and the complete jQueryUI library, with all components rolled... implementational requirements The following screenshot shows the download builder: [] Chapter 1 We can either download the complete current release of the library, or a complete package of the legacy 1.6 version, or we can select the components that we want and download a custom package This book is specifically tailored towards version 1.7 of jQueryUI (at the time of writing the current stable release is 1.7. 2)... http://docs .jquery. com/QUnit The simulate plugin simulates mouse and keyboard events and allows the functionality of widgets or plugins to be tested automatically Other than the cookie plugin (which we use in Chapter 12), we won't be using any of these tools in the examples we'll look at The themes folder contains two different themes the first is the base theme that is a neutral, minimal theme of grey tones The. .. within the img folder in the archive to this new folder The code download also contains all the examples files as well as thelibrary itself It would be incredibly easy to unpack the entire code download to a local directory and run each of the examples as they are These files are provided in the hope that they will be used for reference purposes only! I'd urge you to follow the examples in the book on the . dimensions 11 0 Stacking 11 1 Dialog's event model 11 3 Controlling a dialog programmatically 11 6 Toggling the dialog 11 6 Getting data from the dialog 11 7 Dialog interoperability 11 9 A dynamic. methods 17 0 Selecting a date programmatically 17 0 Showing the datepicker in a dialog 17 1 An AJAX datepicker 17 2 Summary 17 6 Chapter 8: Progressbar 17 7 The default progressbar implementation 17 8 Using. class="bi x0 y0 w1 h0" alt="" jQuery UI 1. 7 The User Interface Library for jQuery Build highly interactive web applications with ready-to-use widgets from the jQuery User Interface library Dan