没有合适的资源?快使用搜索试试~ 我知道了~
首页探索jQuery UI 1.7:交互式Web应用的强大界面库
jQuery UI是一个强大的用户界面库,专为基于jQuery的Web应用设计,旨在提供一系列现成的交互式控件,以简化开发者的前端开发工作。这个库在1.7版本中达到了一个新的高度,它不仅包含了丰富的UI组件,如按钮、对话框、菜单、滑块等,还支持高度定制和主题化,使开发者能够轻松构建出美观且功能丰富的网页应用。 jQuery UI的设计目标是帮助开发者快速构建出具有专业外观和良好用户体验的网站,无需从头开始编写复杂的CSS样式和JavaScript代码。通过整合jQuery的核心库,它提供了易于使用的API,使得动态效果、响应式布局以及触摸设备的支持变得简单易行。例如,通过使用$.dialog()方法,开发者可以方便地创建和管理弹出对话框,而$.draggable()和$.droppable()则支持拖放功能,极大地增强了用户与页面元素的互动性。 该库的版权属于Packt Publishing,所有的使用必须遵循版权法,未经许可,不得复制、存储或以任何形式传播,除非在学术引用或评论中进行短小摘录。尽管作者和出版社已尽力确保信息的准确性,但书中提供的内容不承担任何形式的担保,无论是明示还是暗示,均不对因使用本库而导致的直接或间接损失负责。 Packt Publishing在提及书中涉及的公司和产品时,尽可能使用正确的商标形式,但不能保证其准确性。jQuery UI是一个不可或缺的工具包,对于希望提升网页交互性和吸引力的前端开发者来说,深入理解和掌握它将大大提高工作效率,并且为网站注入更多的创新元素。
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/4537097/bg10.jpg)
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
![](https://csdnimg.cn/release/download_crawler_static/4537097/bg11.jpg)
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
![](https://csdnimg.cn/release/download_crawler_static/4537097/bg12.jpg)
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.
![](https://csdnimg.cn/release/download_crawler_static/4537097/bg13.jpg)
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.
![](https://csdnimg.cn/release/download_crawler_static/4537097/bg14.jpg)
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页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![-](https://img-home.csdnimg.cn/images/20210720083327.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/default.jpg!1)
xinpingping2008
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- 解决Eclipse配置与导入Java工程常见问题
- 真空发生器:工作原理与抽吸性能分析
- 爱立信RBS6201开站流程详解
- 电脑开机声音解析:故障诊断指南
- JAVA实现贪吃蛇游戏
- 模糊神经网络实现与自学习能力探索
- PID型模糊神经网络控制器设计与学习算法
- 模糊神经网络在自适应PID控制器中的应用
- C++实现的学生成绩管理系统设计
- 802.1D STP 实现与优化:二层交换机中的生成树协议
- 解决Windows无法完成SD卡格式化的九种方法
- 软件测试方法:Beta与Alpha测试详解
- 软件测试周期详解:从需求分析到维护测试
- CMMI模型详解:软件企业能力提升的关键
- 移动Web开发框架选择:jQueryMobile、jQTouch、SenchaTouch对比
- Java程序设计试题与复习指南
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)