没有合适的资源?快使用搜索试试~ 我知道了~
首页jQuery UI 1.7:jQuery交互式Web应用的核心用户界面库
jQuery UI 1.7:jQuery交互式Web应用的核心用户界面库
需积分: 10 33 下载量 106 浏览量
更新于2024-07-25
收藏 13.53MB PDF 举报
"jQuery UI 1.7 是一个强大的jQuery用户界面库,它为Web开发者提供了构建高度交互式Web应用所需的现成组件(Widgets)。这个库由Dan Wellman编著,旨在利用jQuery的强大功能来简化前端开发,提升用户体验。jQuery UI 1.7涵盖了丰富的组件,如对话框、工具提示、菜单、进度条、滑块等,这些组件能够帮助开发者快速构建出功能齐全且易于使用的界面。 本书《jQuery UI 1.7:jQuery用户界面库》详细介绍了如何集成和定制这些UI元素,以及如何将它们与jQuery的其他功能无缝结合。它不仅包含了理论知识,还提供了实用的示例代码和指导,让读者能够快速掌握如何在实际项目中应用这些用户界面组件。 版权方面,该书受到Packt Publishing的严格保护,未经出版商事先书面许可,禁止任何形式的复制、存储或传输,除非是在批评性文章或评论中引用短小片段。尽管作者和出版社努力确保信息的准确性,但书中提供的所有内容均不提供任何形式的担保,无论是明示的还是暗示的。 值得注意的是,Packt Publishing在提到本书中的公司和产品商标时,已尽可能地正确使用大写,但并不保证其准确性。jQuery UI 1.7是前端开发者的宝贵资源,适合希望提升Web应用交互性和设计水平的开发者阅读和学习。通过阅读这本书,开发者可以提升自己的技能,并在实际项目中创造出吸引人的用户界面体验。"
资源详情
资源推荐
Table of Contents
Greedy 224
Droppable methods 228
A drag and drop game 229
Summary 234
Chapter 10: Resizing 235
A basic resizable 236
Resizable options 238
Configuring resize handles 239
Adding additional handle images 240
Defining size limits 241
Resize ghosts 243
Containing the resize 245
Handling the aspect ratio 246
Resizable animations 247
Simultaneous resizing 248
Preventing unwanted resizes 250
Resizable callbacks 250
Resizable methods 252
Resizable tabs 252
Summary 254
Chapter 11: Selecting 255
Basic implementation 256
Selectee class names 258
Configurable options of the selectable component 260
Filtering selectables 260
Cancelling the selection 262
Selectable callbacks 262
Working with vast amounts of selectables 266
Selectable methods 268
A selectable image viewer 270
Styling the image selector 274
Summary 276
Chapter 12: Sorting 277
The default implementation 278
Configuring sortable options 281
Placeholders 287
Sortable helpers 289
Sortable items 290
Connected lists 292
Table of Contents
Reacting to sortable events 295
Connected callbacks 299
Sortable methods 301
Widget compatibility 304
Adding draggables 306
Sortable page widgets 310
The underlying page 312
Styling the page 313
The main script 314
Building the content boxes 317
Writing the cookie 319
Making the boxes sortable 319
Closing and restoring boxes 320
Summary 321
Chapter 13: UI Effects 323
The core effects file 324
Using color animations 324
Using class transitions 326
Advanced easing 328
Highlighting specified elements 328
Additional effect arguments 331
Bouncing 332
Shaking an element 334
Transferring an element's outline 335
Element scaling 338
Element explosion 341
The puff effect 343
The pulsate effect 345
Dropping elements onto the page 347
Sliding elements open or closed 349
The window-blind effect 353
Clipping elements 354
Folding elements 356
Summary 357
Index 359
Preface
Modern web application user interface design requires rapid development and
proven results. jQuery UI, a trusted suite of ofcial plugins for the jQuery JavaScript
library, gives you a solid platform on which to build rich and engaging interfaces
with maximum compatibility, stability, and a minimum of time and effort.
jQuery UI has a series of ready-made, great looking user interface widgets, and
a comprehensive set of core interaction helpers designed to be implemented in a
consistent and developer-friendly way. With all this, the amount of code that
you need to write personally to take a project from conception to completion is
drastically reduced.
Specially revised for version 1.7 of jQuery, this book has been written to maximize
your experience with the library by breaking down each component and walking
you through examples that progressively build upon your knowledge, taking you
from beginner to advanced usage in a series of easy-to-follow steps.
In this book, you'll learn how each component can be initialized in a basic default
implementation and then see how easy it is to customize its appearance and
congure its behavior to tailor it to the requirements of your application. You'll look
at the conguration options and the methods exposed by each component's API to
see how these can be used to bring out the best of the library.
Events play a key role in any modern web application if it is to meet the expected
minimum requirements of interactivity and responsiveness, and each chapter will
show you the custom events red by the component covered and how these events
can be intercepted and acted upon.
Preface
What this book covers
Chapter 1, Introducing jQuery UI, gives a general overview and introduction to
jQuery UI. You nd out exactly what the library is, where it can be downloaded
from, and where resources for it can be found. We look at the freedom the license
gives you to use the library and how the API has been simplied to give the
components a consistent and easy to use programming model.
In Chapter 2, The CSS Framework, we look in details at the extensive CSS framework
that provides a rich environment for integrated theming via ThemeRoller, or allows
developers to easily supply their own custom themes or skins.
In Chapter 3, Tabs, we look at the tabs component; a simple but effective means of
presenting structured content in an engaging and interactive widget.
Chapter 4, The Accordion Widget, looks at the accordion widget, another component
dedicated to the effective display of content. Highly engaging and interactive, the
accordion makes a valuable addition to any web page and its API is exposed in full
to show exactly how it can be used.
In Chapter 5, The Dialog, we focus on the dialog widget. The dialog behaves in the
same way as a standard browser alert, but it does so in a much less intrusive and
more visitor-friendly manner. We look at how it can be congured and controlled to
provide maximum benet and appeal.
Chapter 6, Slider, looks at the slider widget that provides a less commonly used, but
no less valuable user interface tool for collecting input from your visitors. We look
closely at its API throughout this chapter to see the variety of ways that in which it
can be implemented.
In Chapter 7, Datepicker, we look at the datepicker. This component packs a huge
amount of functionality into an attractive and highly usable tool, allowing your
visitors to effortlessly select dates. We look at the wide range of congurations that
its API makes possible as well as seeing how easy common tasks such as skinning
and localization are made.
In Chapter 8, Progressbar, we look at the new progressbar widget; examining its
compact API and seeing a number of ways in which it can be put to good use in our
web applications.
In Chapter 9, Drag and Drop, we begin looking at the low-level interaction helpers,
tackling rst the related drag-and-droppable components. We look at how they
can be implemented individually and how they can be used together for
maximum effect.
Preface
Chapter 10, Resizing, looks at the resizing component and how it is used with the
dialog widget from earlier in the book. We see how it can be applied to any element
on the page to allow it be resized in a smooth and attractive way.
In Chapter 11, Selecting, we look at the selectable component, which allows us add
behavior to elements on the page and allow them be selected individually or as a
group. We see that this is one component that really brings the desktop and the
browser together as application platforms.
Chapter 12, Sorting, looks at the nal interaction helper—the sortable component.
This is an especially effective component that allows you to create lists on a page
that can be reordered by dragging items to a new position on the list. This is another
component that can really help you to add a high level of professionalism and
interactivity to your site with a minimum of effort.
Chapter 13, UI Effects, is dedicated solely to the special effects that are included with
the library. We look at an array of different effects that allow you to show, hide,
move, and jiggle elements in a variety of attractive and appealing animations.
There is no 'fun with' section at the end of this chapter; the whole chapter is a
'fun with' section.
What you need for this book
A copy of the latest jQuery UI full build (1.7.2 at the time of writing)
A code or text editor
A browser
The code download for the book
Who this book is for
This book is for developers who want to quickly and easily build engaging,
highly interactive interfaces for their web applications, or less commonly, for
embedded applications.
Nokia was the rst mobile phone company to announce that they were adopting
jQuery to power parts of their cell phone operating system. I'm sure that by the time
this book is published there will be more companies adapting the library for their
own needs, and wherever jQuery goes, jQuery UI can follow.
People who are comfortable with HTML, JavaScript, and CSS along with having at
least some experience with jQuery itself will get the most benet from what this book
has to offer. However, no prior knowledge of the UI library itself is required.
•
•
•
•
剩余391页未读,继续阅读
小白的编程日志
- 粉丝: 2227
- 资源: 857
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 最优条件下三次B样条小波边缘检测算子研究
- 深入解析:wav文件格式结构
- JIRA系统配置指南:代理与SSL设置
- 入门必备:电阻电容识别全解析
- U盘制作启动盘:详细教程解决无光驱装系统难题
- Eclipse快捷键大全:提升开发效率的必备秘籍
- C++ Primer Plus中文版:深入学习C++编程必备
- Eclipse常用快捷键汇总与操作指南
- JavaScript作用域解析与面向对象基础
- 软通动力Java笔试题解析
- 自定义标签配置与使用指南
- Android Intent深度解析:组件通信与广播机制
- 增强MyEclipse代码提示功能设置教程
- x86下VMware环境中Openwrt编译与LuCI集成指南
- S3C2440A嵌入式终端电源管理系统设计探讨
- Intel DTCP-IP技术在数字家庭中的内容保护
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功